mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-14 06:01:10 +00:00
Change default renderer to opengl1
This commit is contained in:
parent
74ec00ddaf
commit
307609296c
1 changed files with 2 additions and 2 deletions
|
@ -3309,7 +3309,7 @@ void CL_InitRef( void ) {
|
||||||
Com_Printf( "----- Initializing Renderer ----\n" );
|
Com_Printf( "----- Initializing Renderer ----\n" );
|
||||||
|
|
||||||
#ifdef USE_RENDERER_DLOPEN
|
#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);
|
Com_sprintf(dllName, sizeof(dllName), RENDERER_PREFIX "%s_" ARCH_STRING DLL_EXT, cl_renderer->string);
|
||||||
|
|
||||||
|
@ -3318,7 +3318,7 @@ void CL_InitRef( void ) {
|
||||||
Com_Printf("failed:\n\"%s\"\n", Sys_LibraryError());
|
Com_Printf("failed:\n\"%s\"\n", Sys_LibraryError());
|
||||||
Cvar_ForceReset("cl_renderer");
|
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);
|
rendererLib = Sys_LoadDll(dllName, qfalse);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue