it seems to help if GLAPIENTRY is actually getting defined to something
usefult. -wgl no longer dies now, though I still get a black screen (palette init issues:)
This commit is contained in:
parent
7ccaecc327
commit
bc5a7f9799
|
@ -33,14 +33,12 @@
|
|||
#include "QF/GL/defines.h"
|
||||
#include "QF/GL/types.h"
|
||||
|
||||
// Define GLAPIENTRY to a useful value
|
||||
#ifndef GLAPIENTRY
|
||||
# ifdef APIENTRY
|
||||
# define GLAPIENTRY APIENTRY
|
||||
#ifdef _WIN32
|
||||
# include <windows.h>
|
||||
# define GLAPIENTRY WINAPI
|
||||
#else
|
||||
# define GLAPIENTRY
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// OpenGL numbers for extensions we use or want to use
|
||||
#ifndef GL_EXT_bgra
|
||||
|
|
Loading…
Reference in New Issue