aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;