From: uis Date: Sun, 21 Jul 2024 21:44:06 +0000 (+0300) Subject: vid_sdl: make gl_driver GL-only X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=95e530cbe77bb5d553ec41c7fb305b29e5fcb7dd;p=xonotic%2Fdarkplaces.git vid_sdl: make gl_driver GL-only --- diff --git a/vid_sdl.c b/vid_sdl.c index 681ba540..b395806a 100644 --- a/vid_sdl.c +++ b/vid_sdl.c @@ -1855,7 +1855,9 @@ static qbool VID_InitModeGL(const viddef_mode_t *mode) Cvar_SetQuick(&gl_info_vendor, gl_vendor); Cvar_SetQuick(&gl_info_renderer, gl_renderer); Cvar_SetQuick(&gl_info_version, gl_version); + #ifndef USE_GLES2 Cvar_SetQuick(&gl_info_driver, drivername ? drivername : ""); + #endif for (i = 0; i < vid_info_displaycount.integer; ++i) Con_Printf("Display %i: %s\n", i, SDL_GetDisplayName(i));