Show reason non-default renderer failed to load.

This commit is contained in:
Zack Middleton 2012-10-30 07:43:44 +00:00
parent 32d1bc4f2a
commit faa0cb04c1

View file

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