mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 05:01:40 +00:00
Show reason non-default renderer failed to load.
This commit is contained in:
parent
32d1bc4f2a
commit
faa0cb04c1
1 changed files with 1 additions and 0 deletions
|
@ -3201,6 +3201,7 @@ void CL_InitRef( void ) {
|
|||
|
||||
if(!(rendererLib = Sys_LoadDll(dllName, qfalse)) && strcmp(cl_renderer->string, cl_renderer->resetString))
|
||||
{
|
||||
Com_Printf("failed:\n\"%s\"\n", Sys_LibraryError());
|
||||
Cvar_ForceReset("cl_renderer");
|
||||
|
||||
Com_sprintf(dllName, sizeof(dllName), "renderer_opengl1_" ARCH_STRING DLL_EXT);
|
||||
|
|
Loading…
Reference in a new issue