mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
fix OpenGL includes for Win32
This commit is contained in:
parent
4c9444b958
commit
0aa8a9f372
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue