fixed an endian bug

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2527 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2007-07-20 17:38:35 +00:00
parent 3ff0218436
commit 3028037b3c

View file

@ -276,7 +276,7 @@ PIXEL32 xlib_rgb32(int r, int g, int b)
p = r<<16; p = r<<16;
p|= g<<8; p|= g<<8;
p|= b; p|= b;
return p; return LittleLong(p);
} }
void st2_fixup( XImage *framebuf, int x, int y, int width, int height) void st2_fixup( XImage *framebuf, int x, int y, int width, int height)