aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/client')
-rw-r--r--src/jake2/client/VID.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jake2/client/VID.java b/src/jake2/client/VID.java
index 48c4ffb..864276e 100644
--- a/src/jake2/client/VID.java
+++ b/src/jake2/client/VID.java
@@ -2,7 +2,7 @@
* VID.java
* Copyright (C) 2003
*
- * $Id: VID.java,v 1.16.4.2 2005-12-25 18:11:24 cawe Exp $
+ * $Id: VID.java,v 1.16.4.3 2006-11-20 23:15:13 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -167,7 +167,7 @@ public class VID extends Globals {
VID_LoadRefresh
==============
*/
- static boolean LoadRefresh( String name )
+ static boolean LoadRefresh( String name, boolean fast )
{
if ( reflib_active )
@@ -197,7 +197,7 @@ public class VID extends Globals {
}
Com.Printf( "LoadLibrary(\"" + name +"\")\n" );
- Globals.re = Renderer.getDriver(name);
+ Globals.re = Renderer.getDriver(name, fast);
if (Globals.re == null)
{
@@ -256,7 +256,7 @@ public class VID extends Globals {
Globals.cls.disable_screen = 1.0f; // true;
- if ( !LoadRefresh( vid_ref.string ) )
+ if ( !LoadRefresh( vid_ref.string, true ) )
{
String renderer;
if (vid_ref.string.equals(Renderer.getPreferedName())) {
@@ -273,7 +273,7 @@ public class VID extends Globals {
if (gl_mode.value != 0.0f) {
Com.Printf("Trying mode 0\n");
Cvar.SetValue("gl_mode", 0);
- if ( !LoadRefresh( vid_ref.string ) )
+ if ( !LoadRefresh( vid_ref.string, false ) )
Com.Error(Defines.ERR_FATAL, "Couldn't fall back to " + renderer +" refresh!");
} else
Com.Error(Defines.ERR_FATAL, "Couldn't fall back to " + renderer +" refresh!");