mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 18:49:51 +01:00
Remove glstate usage except in the GPU implementation. Prepare for moving it into PPSSPP.
This commit is contained in:
1 parent
cfe4c033b9
commit
72ae497350
17 files changed
+31
-67
No files matched your search
@@ -1,6 +1,6 @@
|
||||
#include "Common/CommonWindows.h"
|
||||
#include "native/gfx_es2/gl_state.h"
|
||||
#include "native/gfx/gl_common.h"
|
||||
#include "native/gfx_es2/gpu_features.h"
|
||||
#include "GL/gl.h"
|
||||
#include "GL/wglew.h"
|
||||
#include "Core/Config.h"
|
||||
@@ -237,7 +237,6 @@ bool GL_Init(HWND window, std::string *error_message) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
if (!m_hrc) {
|
||||
*error_message = "No m_hrc";
|
||||
return false;
|
||||
@@ -245,7 +244,6 @@ bool GL_Init(HWND window, std::string *error_message) {
|
||||
|
||||
hRC = m_hrc;
|
||||
|
||||
glstate.Initialize();
|
||||
if (wglSwapIntervalEXT)
|
||||
wglSwapIntervalEXT(0);
|
||||
if (enableGLDebug && glewIsSupported("GL_ARB_debug_output")) {
|
||||
|
||||
Reference in new issue
Block a user