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/types.h"
// Define GLAPIENTRY to a useful value
#ifndef GLAPIENTRY
# ifdef APIENTRY
# define GLAPIENTRY APIENTRY
# else
# define GLAPIENTRY
# endif
#ifdef _WIN32
# include <windows.h>
# define GLAPIENTRY WINAPI
#else
# define GLAPIENTRY
#endif
// OpenGL numbers for extensions we use or want to use