mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 06:51:47 +00:00
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
1 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
#ifdef _WIN32
|
||||
# include <windows.h>
|
||||
# define GLAPIENTRY WINAPI
|
||||
#else
|
||||
# define GLAPIENTRY
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// OpenGL numbers for extensions we use or want to use
|
||||
|
|
Loading…
Reference in a new issue