mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
Fixed Windows MinGW building
This commit is contained in:
parent
b9fff9d1ac
commit
d2024e5257
8 changed files with 497 additions and 7 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue