aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-05-16 16:52:45 -0700
committerJean-Baptiste Queru <jbq@google.com>2012-05-16 16:52:45 -0700
commit7a5374d597eac72560bb5a3f8209438896cfe8a7 (patch)
tree942023285e32490072ad7c677b85ebee64e7158d
parent3a8615dddb462ae2ab51f864ebdfa846907537cd (diff)
downloadquake-7a5374d597eac72560bb5a3f8209438896cfe8a7.tar.gz
Change-Id: Ifeaec02a5f8e25c2557152ca255a0b84bcef5267
-rw-r--r--quake/src/WinQuake/gl_draw.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/quake/src/WinQuake/gl_draw.cpp b/quake/src/WinQuake/gl_draw.cpp
index e822a65..aa9c9a8 100644
--- a/quake/src/WinQuake/gl_draw.cpp
+++ b/quake/src/WinQuake/gl_draw.cpp
@@ -533,6 +533,8 @@ qpic_t *Draw_PicFromWad (const char *name)
int i, j, k;
int texnum;
+ x = 0;
+ y = 0;
texnum = Scrap_AllocBlock (p->width, p->height, &x, &y);
scrap_dirty = true;
k = 0;