From 3fa4db891f9ef693acf6c8e1668dc038e2fb310e Mon Sep 17 00:00:00 2001
From: Jaime Passos <lazymyuutsu@gmail.com>
Date: Mon, 17 Feb 2020 01:13:13 -0300
Subject: [PATCH] Always load the GL library!

---
 src/sdl/i_video.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c
index 18cce3eab8..b50790f770 100644
--- a/src/sdl/i_video.c
+++ b/src/sdl/i_video.c
@@ -1719,8 +1719,7 @@ void I_StartupGraphics(void)
 	//SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY>>1,SDL_DEFAULT_REPEAT_INTERVAL<<2);
 	VID_Command_ModeList_f();
 #ifdef HWRENDER
-	if (chosenrendermode == render_opengl)
-		I_StartupHardwareGraphics();
+	I_StartupHardwareGraphics();
 #endif
 
 	// Fury: we do window initialization after GL setup to allow
-- 
GitLab