Fixed Windows MinGW building

This commit is contained in:
MihailRis
2022-03-12 23:14:45 +03:00
committed by GitHub
parent b9fff9d1ac
commit d2024e5257
8 changed files with 497 additions and 7 deletions
+2 -1
View File
@@ -4,8 +4,9 @@
#include <GL/glew.h>
#include "../graphics/Texture.h"
// comment line below for use spng instead of libpng
#ifndef _WIN32
#define LIBPNG
#endif
#ifdef LIBPNG
#include <png.h>