From 1e4d7534c4881124932b4a1da1563091600e230e Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Tue, 12 Sep 2017 08:57:27 -0400 Subject: [PATCH] - remove gl_legacy_mode check in the glswfb --- src/gl/system/gl_swframebuffer.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/gl/system/gl_swframebuffer.cpp b/src/gl/system/gl_swframebuffer.cpp index 5e4642610..937778847 100644 --- a/src/gl/system/gl_swframebuffer.cpp +++ b/src/gl/system/gl_swframebuffer.cpp @@ -93,7 +93,6 @@ EXTERN_CVAR(Float, Gamma) EXTERN_CVAR(Bool, vid_vsync) EXTERN_CVAR(Float, transsouls) EXTERN_CVAR(Int, vid_refreshrate) -EXTERN_CVAR(Bool, gl_legacy_mode) #ifdef WIN32 extern cycle_t BlitCycles; @@ -199,10 +198,6 @@ OpenGLSWFrameBuffer::OpenGLSWFrameBuffer(void *hMonitor, int width, int height, const char *glversion = (const char*)glGetString(GL_VERSION); bool isGLES = (glversion && strlen(glversion) > 10 && memcmp(glversion, "OpenGL ES ", 10) == 0); - UCVarValue value; - value.Bool = !ogl_IsVersionGEQ(3, 0); - gl_legacy_mode.ForceSet (value, CVAR_Bool); - if (!isGLES && ogl_IsVersionGEQ(3, 0) == 0) { Printf("OpenGL acceleration requires at least OpenGL 3.0. No Acceleration will be used.\n");