aboutsummaryrefslogtreecommitdiffstats
path: root/test/jake2/render/TestRenderer.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/jake2/render/TestRenderer.java')
-rw-r--r--test/jake2/render/TestRenderer.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/jake2/render/TestRenderer.java b/test/jake2/render/TestRenderer.java
index 976d57c..e152747 100644
--- a/test/jake2/render/TestRenderer.java
+++ b/test/jake2/render/TestRenderer.java
@@ -2,7 +2,7 @@
* TestRenderer.java
* Copyright (C) 2003
*
- * $Id: TestRenderer.java,v 1.1 2004-07-07 19:59:59 hzi Exp $
+ * $Id: TestRenderer.java,v 1.2 2004-07-08 20:24:31 hzi Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -226,8 +226,13 @@ public class TestRenderer {
void run() {
startTime = System.currentTimeMillis();
+ xcommand_t callback = new xcommand_t() {
+ public void execute() {
+ updateScreen();
+ }
+ };
while (true) {
- re.updateScreen(null);
+ re.updateScreen(callback);
KBD.Update();
Cbuf.Execute();
try {