mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-06 07:41:17 +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
|
# ifdef _WIN32
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
# define GLAPIENTRY WINAPI
|
# define GLAPIENTRY WINAPI
|
||||||
|
# undef LoadImage
|
||||||
# else
|
# else
|
||||||
# ifdef APIENTRY
|
# ifdef APIENTRY
|
||||||
# define GLAPIENTRY APIENTRY
|
# define GLAPIENTRY APIENTRY
|
||||||
|
|
|
@ -61,6 +61,7 @@
|
||||||
|
|
||||||
#undef byte
|
#undef byte
|
||||||
#undef shutdown
|
#undef shutdown
|
||||||
|
#undef LoadImage
|
||||||
|
|
||||||
#include "QF/qtypes.h"
|
#include "QF/qtypes.h"
|
||||||
|
|
||||||
|
|
|
@ -182,6 +182,7 @@ LoadPNG (QFile *infile)
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#include "QF/image.h"
|
#include "QF/image.h"
|
||||||
|
#include "QF/png.h"
|
||||||
|
|
||||||
tex_t *
|
tex_t *
|
||||||
LoadPNG (QFile *infile)
|
LoadPNG (QFile *infile)
|
||||||
|
|
Loading…
Reference in a new issue