Reset vod_renderer to gl1 if the requested lib couldn't be loaded.

This was reported in issue #209.
This commit is contained in:
Yamagi Burmeister 2017-06-30 13:40:44 +02:00
parent 815bc34646
commit e134ae578f

View file

@ -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;
}