mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +00:00
Default cl_renderer to opengl2.
This commit is contained in:
parent
f71fe6b613
commit
1246d16834
1 changed files with 2 additions and 2 deletions
|
@ -3199,7 +3199,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", "opengl1", CVAR_ARCHIVE | CVAR_LATCH);
|
cl_renderer = Cvar_Get("cl_renderer", "opengl2", CVAR_ARCHIVE | CVAR_LATCH);
|
||||||
|
|
||||||
Com_sprintf(dllName, sizeof(dllName), "renderer_%s_" ARCH_STRING DLL_EXT, cl_renderer->string);
|
Com_sprintf(dllName, sizeof(dllName), "renderer_%s_" ARCH_STRING DLL_EXT, cl_renderer->string);
|
||||||
|
|
||||||
|
@ -3208,7 +3208,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_opengl1_" ARCH_STRING DLL_EXT);
|
Com_sprintf(dllName, sizeof(dllName), "renderer_opengl2_" ARCH_STRING DLL_EXT);
|
||||||
rendererLib = Sys_LoadDll(dllName, qfalse);
|
rendererLib = Sys_LoadDll(dllName, qfalse);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue