mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-29 15:51:45 +00:00
Reset vod_renderer to gl1 if the requested lib couldn't be loaded.
This was reported in issue #209.
This commit is contained in:
parent
815bc34646
commit
e134ae578f
1 changed files with 2 additions and 0 deletions
|
@ -349,6 +349,8 @@ VID_LoadRefresh(void)
|
|||
if(GetRefAPI == NULL)
|
||||
{
|
||||
Com_Error( ERR_FATAL, "Loading %s as renderer lib failed!", reflib_name );
|
||||
Cvar_Set("vid_renderer", "gl1");
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue