From 78d0a1f33aaca5d734122371c43fd51ff43ad3fd Mon Sep 17 00:00:00 2001 From: Carsten Weisse Date: Sun, 2 Mar 2008 14:56:23 +0000 Subject: use getters and setters of modified viddef_t --- src/jake2/render/fast/Draw.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/jake2/render/fast/Draw.java') 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); -- cgit v1.2.3