mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
This commit is contained in:
commit
62f9d454eb
11 changed files with 58 additions and 36 deletions
|
|
@ -2,7 +2,6 @@
|
|||
#include "GLGSRender.h"
|
||||
#include "Emu/Cell/PPCInstrTable.h"
|
||||
#include "Gui/RSXDebugger.h"
|
||||
#include "OpenGL.h"
|
||||
|
||||
#define CMD_DEBUG 0
|
||||
#define DUMP_VERTEX_DATA 0
|
||||
|
|
@ -650,10 +649,11 @@ void GLGSRender::OnInitThread()
|
|||
|
||||
#ifdef _WIN32
|
||||
glSwapInterval(Ini.GSVSyncEnable.GetValue() ? 1 : 0);
|
||||
#else
|
||||
// Undefined reference: glXSwapIntervalEXT
|
||||
/*#else
|
||||
if (GLXDrawable drawable = glXGetCurrentDrawable()){
|
||||
glXSwapIntervalEXT(glXGetCurrentDisplay(), drawable, Ini.GSVSyncEnable.GetValue() ? 1 : 0);
|
||||
}
|
||||
}*/
|
||||
#endif
|
||||
glGenTextures(1, &g_depth_tex);
|
||||
glGenTextures(1, &g_flip_tex);
|
||||
|
|
|
|||
|
|
@ -1,11 +1,9 @@
|
|||
#pragma once
|
||||
#include "Emu/GS/GSRender.h"
|
||||
#include "Emu/GS/RSXThread.h"
|
||||
#include <wx/glcanvas.h>
|
||||
#include "GLBuffers.h"
|
||||
#include "GLProgram.h"
|
||||
#include "OpenGL.h"
|
||||
#include "GLProgramBuffer.h"
|
||||
#include <wx/glcanvas.h>
|
||||
|
||||
#pragma comment(lib, "opengl32.lib")
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
#pragma once
|
||||
#ifndef _WIN32
|
||||
#include <GL/glew.h>
|
||||
#endif
|
||||
#include <GL/gl.h>
|
||||
#include "GL/glext.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue