From 246a019111715e498539fbc18e62a3a645910c03 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Tue, 30 Oct 2012 07:43:44 +0000 Subject: Show reason non-default renderer failed to load. --- src/client/cl_main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/client/cl_main.c b/src/client/cl_main.c index 84f49983..189270f1 100644 --- a/src/client/cl_main.c +++ b/src/client/cl_main.c @@ -3270,6 +3270,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); -- cgit