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/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
|
||||||
|
|
Loading…
Reference in a new issue