fix warning

This commit is contained in:
Glenn Maynard
2004-07-14 21:08:59 +00:00
parent d610ec2e80
commit 7b196e492e
+1 -1
View File
@@ -589,7 +589,7 @@ RageSurface *RageDisplay::CreateSurfaceFromPixfmt( PixelFormat pixfmt,
RageDisplay::PixelFormat RageDisplay::FindPixelFormat(
int bpp, int Rmask, int Gmask, int Bmask, int Amask, bool realtime )
{
PixelFormatDesc tmp = { bpp, Rmask, Gmask, Bmask, Amask };
PixelFormatDesc tmp = { bpp, { Rmask, Gmask, Bmask, Amask } };
for(int pixfmt = 0; pixfmt < NUM_PIX_FORMATS; ++pixfmt)
{