mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
commit
5b0ebacc40
2 changed files with 4 additions and 4 deletions
|
@ -4,6 +4,8 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
#include "GL/gl.h"
|
||||||
|
#include "GL/glext.h"
|
||||||
typedef BOOL (WINAPI* PFNWGLSWAPINTERVALEXTPROC) (int interval);
|
typedef BOOL (WINAPI* PFNWGLSWAPINTERVALEXTPROC) (int interval);
|
||||||
|
|
||||||
#define OPENGL_PROC(p, n) extern p gl##n
|
#define OPENGL_PROC(p, n) extern p gl##n
|
||||||
|
@ -12,7 +14,7 @@ typedef BOOL (WINAPI* PFNWGLSWAPINTERVALEXTPROC) (int interval);
|
||||||
#undef OPENGL_PROC
|
#undef OPENGL_PROC
|
||||||
#undef OPENGL_PROC2
|
#undef OPENGL_PROC2
|
||||||
|
|
||||||
#elif __APPLE__
|
#elif defined(__APPLE__)
|
||||||
#include <OpenGL/gl.h>
|
#include <OpenGL/gl.h>
|
||||||
#include <OpenGL/glu.h>
|
#include <OpenGL/glu.h>
|
||||||
|
|
||||||
|
|
|
@ -72,11 +72,9 @@ void Rpcs3App::SendDbgCommand(DbgCommand id, CPUThread* thr)
|
||||||
|
|
||||||
Rpcs3App::Rpcs3App()
|
Rpcs3App::Rpcs3App()
|
||||||
{
|
{
|
||||||
#ifdef __UNIX__
|
#if defined(__UNIX__) && !defined(__APPLE__)
|
||||||
#ifndef __APPLE__
|
|
||||||
XInitThreads();
|
XInitThreads();
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
CPUThread& GetCPU(const u8 core)
|
CPUThread& GetCPU(const u8 core)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue