diff options
author | Carsten Weisse <[email protected]> | 2008-03-02 14:56:23 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2008-03-02 14:56:23 +0000 |
commit | 78d0a1f33aaca5d734122371c43fd51ff43ad3fd (patch) | |
tree | eb01e518130289d77dbdb3331042c5da399cc15a /src/jake2/render/basic/Draw.java | |
parent | adaf8e215e6dfff3435d59867661b4cd8946569f (diff) |
use getters and setters of modified viddef_t
Diffstat (limited to 'src/jake2/render/basic/Draw.java')
-rw-r--r-- | src/jake2/render/basic/Draw.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jake2/render/basic/Draw.java b/src/jake2/render/basic/Draw.java index a4347cb..52ee9fc 100644 --- a/src/jake2/render/basic/Draw.java +++ b/src/jake2/render/basic/Draw.java @@ -2,7 +2,7 @@ * Draw.java * Copyright (C) 2003 * - * $Id: Draw.java,v 1.2 2006-11-21 00:50:46 cawe Exp $ + * $Id: Draw.java,v 1.3 2008-03-02 14:56:23 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -290,9 +290,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); |