diff options
author | Andrey Nazarov <skuller@skuller.net> | 2007-11-26 01:13:18 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2007-11-26 01:13:18 +0000 |
commit | 7c8eba32ec52c9158625ec5520c7c05880e70bc1 (patch) | |
tree | a826afc6c9650958a24e8fa1feca575c95bcdb27 /source/gl_draw.c | |
parent | 4de7c5a54c5256f65756c80241967d315bf27422 (diff) |
Release mouse in windowed mode if paused.
Brought original Q2 `pause' image back.
Made Draw_GetPicSize return original image height instead of scaled.
Re-implemented gl_showtris.
Diffstat (limited to 'source/gl_draw.c')
-rw-r--r-- | source/gl_draw.c | 4 |
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 ) { |