mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-19 19:15:26 +00:00
commit
5b0ebacc40
2 changed files with 4 additions and 4 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>
|
||||
|
||||
|
|
|
@ -72,11 +72,9 @@ void Rpcs3App::SendDbgCommand(DbgCommand id, CPUThread* thr)
|
|||
|
||||
Rpcs3App::Rpcs3App()
|
||||
{
|
||||
#ifdef __UNIX__
|
||||
#ifndef __APPLE__
|
||||
#if defined(__UNIX__) && !defined(__APPLE__)
|
||||
XInitThreads();
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
/*
|
||||
CPUThread& GetCPU(const u8 core)
|
||||
|
|
Loading…
Add table
Reference in a new issue