From fb6b2514f28ea753dc4db97d9462c03139aefc5b Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 10 Oct 2022 21:59:54 -0700 Subject: [PATCH] GE Debugger: Remove ancient unecessary GL calls. --- Windows/GEDebugger/SimpleGLWindow.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Windows/GEDebugger/SimpleGLWindow.cpp b/Windows/GEDebugger/SimpleGLWindow.cpp index 6f0464a87c..03454dbc34 100644 --- a/Windows/GEDebugger/SimpleGLWindow.cpp +++ b/Windows/GEDebugger/SimpleGLWindow.cpp @@ -129,16 +129,6 @@ void SimpleGLWindow::ResizeGL(int w, int h) { return; } - wglMakeCurrent(hDC_, hGLRC_); - - glViewport(0, 0, w, h); - glScissor(0, 0, w, h); - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - glOrtho(0.0f, w, h, 0.0f, -1.0f, 1.0f); - glMatrixMode(GL_MODELVIEW); - glLoadIdentity(); - w_ = w; h_ = h; }