Merge pull request #217 from Bigpet/master

fix msvc opengl includes
This commit is contained in:
Alexandro Sánchez Bach 2014-05-01 21:07:40 +02:00
commit 5b0ebacc40
2 changed files with 4 additions and 4 deletions

View file

@ -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>

View file

@ -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)