This commit is contained in:
Glenn Maynard
2003-09-03 03:55:58 +00:00
parent 28971334d1
commit 6c2b2291d4
+1 -2
View File
@@ -594,8 +594,7 @@ PixelFormat RageDisplay::FindPixelFormat(
{
PixelFormatDesc tmp = { bpp, Rmask, Gmask, Bmask, Amask };
int pixfmt;
for(pixfmt = 0; pixfmt < NUM_PIX_FORMATS; ++pixfmt)
for(int pixfmt = 0; pixfmt < NUM_PIX_FORMATS; ++pixfmt)
{
const PixelFormatDesc *pf = GetPixelFormatDesc(PixelFormat(pixfmt));
if(!SupportsTextureFormat( PixelFormat(pixfmt) ))