aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/fast/Draw.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/render/fast/Draw.java')
-rw-r--r--src/jake2/render/fast/Draw.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jake2/render/fast/Draw.java b/src/jake2/render/fast/Draw.java
index db6dfb2..6eeb937 100644
--- a/src/jake2/render/fast/Draw.java
+++ b/src/jake2/render/fast/Draw.java
@@ -2,7 +2,7 @@
* Draw.java
* Copyright (C) 2003
*
- * $Id: Draw.java,v 1.3 2007-05-12 23:20:29 cawe Exp $
+ * $Id: Draw.java,v 1.4 2008-03-02 14:56:23 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -285,9 +285,9 @@ public abstract class Draw extends Image {
gl.glBegin(GL_QUADS);
gl.glVertex2f(0,0);
- gl.glVertex2f(vid.width, 0);
- gl.glVertex2f(vid.width, vid.height);
- gl.glVertex2f(0, vid.height);
+ gl.glVertex2f(vid.getWidth(), 0);
+ gl.glVertex2f(vid.getWidth(), vid.getHeight());
+ gl.glVertex2f(0, vid.getHeight());
gl.glEnd();
gl.glColor4f(1,1,1,1);