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
This commit is contained in:
parent
a44068f9b4
commit
9f5fb267c3
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
if (w == 0 && h == 0)
|
||||||
{
|
{
|
||||||
w = 64;
|
w = pic->width;
|
||||||
h = 64;
|
h = pic->height;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (scrap_dirty)
|
if (scrap_dirty)
|
||||||
|
|
Loading…
Reference in a new issue