mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
windows has a LoadImage #define, so kill it :)
This commit is contained in:
parent
61a2840870
commit
2ea7ca1efd
3 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,7 @@
|
|||
# ifdef _WIN32
|
||||
# include <windows.h>
|
||||
# define GLAPIENTRY WINAPI
|
||||
# undef LoadImage
|
||||
# else
|
||||
# ifdef APIENTRY
|
||||
# define GLAPIENTRY APIENTRY
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
|
||||
#undef byte
|
||||
#undef shutdown
|
||||
#undef LoadImage
|
||||
|
||||
#include "QF/qtypes.h"
|
||||
|
||||
|
|
|
@ -182,6 +182,7 @@ LoadPNG (QFile *infile)
|
|||
#else
|
||||
|
||||
#include "QF/image.h"
|
||||
#include "QF/png.h"
|
||||
|
||||
tex_t *
|
||||
LoadPNG (QFile *infile)
|
||||
|
|
Loading…
Reference in a new issue