From 9f5fb267c3c4102b831812433c773c50a52dcc1a Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 5 Oct 2008 02:58:22 +0000 Subject: [PATCH] Makes nexuiz's csqc work ever so slightly better (pics with size 0*0 now mean to draw at the natural size, instead of 64*64...). git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3039 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/gl/gl_draw.c b/engine/gl/gl_draw.c index 3e0ab9dc6..010c5d10a 100644 --- a/engine/gl/gl_draw.c +++ b/engine/gl/gl_draw.c @@ -2224,8 +2224,8 @@ void GLDraw_Image(float x, float y, float w, float h, float s1, float t1, float if (w == 0 && h == 0) { - w = 64; - h = 64; + w = pic->width; + h = pic->height; } if (scrap_dirty)