From faa0cb04c175256f96099f3f95b5a470af766cc2 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Tue, 30 Oct 2012 07:43:44 +0000 Subject: [PATCH] Show reason non-default renderer failed to load. --- code/client/cl_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/code/client/cl_main.c b/code/client/cl_main.c index b506dbd4..004c3572 100644 --- a/code/client/cl_main.c +++ b/code/client/cl_main.c @@ -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);