summaryrefslogtreecommitdiff
path: root/source/gl_draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/gl_draw.c')
-rw-r--r--source/gl_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gl_draw.c b/source/gl_draw.c
index 2df1b55..388019f 100644
--- a/source/gl_draw.c
+++ b/source/gl_draw.c
@@ -105,8 +105,8 @@ void Draw_GetPicSize( int *w, int *h, qhandle_t hPic ) {
image_t *image;
image = R_ImageForHandle( hPic );
- *w = image->upload_width;
- *h = image->upload_height;
+ *w = image->width;
+ *h = image->height;
}
void Draw_GetFontSize( int *w, int *h, qhandle_t hFont ) {