mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-11 06:40:39 +00:00
fix OpenGL includes for Win32
This commit is contained in:
parent
4c9444b958
commit
0aa8a9f372
@ -4,6 +4,8 @@
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "GL/gl.h"
|
||||
#include "GL/glext.h"
|
||||
typedef BOOL (WINAPI* PFNWGLSWAPINTERVALEXTPROC) (int interval);
|
||||
|
||||
#define OPENGL_PROC(p, n) extern p gl##n
|
||||
@ -12,7 +14,7 @@ typedef BOOL (WINAPI* PFNWGLSWAPINTERVALEXTPROC) (int interval);
|
||||
#undef OPENGL_PROC
|
||||
#undef OPENGL_PROC2
|
||||
|
||||
#elif __APPLE__
|
||||
#elif defined(__APPLE__)
|
||||
#include <OpenGL/gl.h>
|
||||
#include <OpenGL/glu.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user