Skip to content

Commit

Permalink
Change default renderer to opengl1
Browse files Browse the repository at this point in the history
  • Loading branch information
zturtleman committed Jun 2, 2018
1 parent 74ec00d commit 3076092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/client/cl_main.c
Expand Up @@ -3309,7 +3309,7 @@ void CL_InitRef( void ) {
Com_Printf( "----- Initializing Renderer ----\n" );

#ifdef USE_RENDERER_DLOPEN
cl_renderer = Cvar_Get("cl_renderer", "opengl2", CVAR_ARCHIVE | CVAR_LATCH);
cl_renderer = Cvar_Get("cl_renderer", "opengl1", CVAR_ARCHIVE | CVAR_LATCH);

Com_sprintf(dllName, sizeof(dllName), RENDERER_PREFIX "%s_" ARCH_STRING DLL_EXT, cl_renderer->string);

Expand All @@ -3318,7 +3318,7 @@ void CL_InitRef( void ) {
Com_Printf("failed:\n\"%s\"\n", Sys_LibraryError());
Cvar_ForceReset("cl_renderer");

Com_sprintf(dllName, sizeof(dllName), RENDERER_PREFIX "opengl2_" ARCH_STRING DLL_EXT);
Com_sprintf(dllName, sizeof(dllName), RENDERER_PREFIX "opengl1_" ARCH_STRING DLL_EXT);
rendererLib = Sys_LoadDll(dllName, qfalse);
}

Expand Down

0 comments on commit 3076092

Please sign in to comment.