From a35a2c81e27414b49995bd04aea386bc8f5f0fef Mon Sep 17 00:00:00 2001 From: Sally Cochenour <tehrealsalt@gmail.com> Date: Tue, 7 Jan 2020 19:30:09 -0500 Subject: [PATCH] Fix errors --- src/sdl/i_video.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index 5fa631c97b..ceabb926d9 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -1722,8 +1722,6 @@ void I_StartupHardwareGraphics(void) #ifdef HWRENDER static boolean glstartup = false; if (!glstartup) - { - if (rendermode == render_opengl) { HWD.pfnInit = hwSym("Init",NULL); HWD.pfnFinishUpdate = NULL; @@ -1760,10 +1758,7 @@ void I_StartupHardwareGraphics(void) HWD.pfnLoadCustomShader = hwSym("LoadCustomShader",NULL); HWD.pfnInitCustomShaders = hwSym("InitCustomShaders",NULL); - // check gl renderer lib - if (HWD.pfnGetRenderVersion() != VERSION) - I_Error("%s", M_GetText("The version of the renderer doesn't match the version of the executable\nBe sure you have installed SRB2 properly.\n")); - if (!HWD.pfnInit(I_Error)) // let load the OpenGL library + if (!HWD.pfnInit()) // let load the OpenGL library rendermode = render_soft; else glstartup = true; -- GitLab