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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 497 additions and 7 deletions

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>