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:
Bill Currie 2001-10-21 02:41:20 +00:00
parent 7ccaecc327
commit bc5a7f9799
1 changed files with 5 additions and 7 deletions

View File

@ -33,13 +33,11 @@
#include "QF/GL/defines.h" #include "QF/GL/defines.h"
#include "QF/GL/types.h" #include "QF/GL/types.h"
// Define GLAPIENTRY to a useful value #ifdef _WIN32
#ifndef GLAPIENTRY # include <windows.h>
# ifdef APIENTRY # define GLAPIENTRY WINAPI
# define GLAPIENTRY APIENTRY #else
# else # define GLAPIENTRY
# define GLAPIENTRY
# endif
#endif #endif
// OpenGL numbers for extensions we use or want to use // OpenGL numbers for extensions we use or want to use