Previous 15994 Revisions Next

r13086 Monday 22nd October, 2001 at 09:56:22 UTC by Miodrag Milanović
Fixed compile under GCC 4.6 (no whatsnew)
[src/osd/windows]winmain.c

src/osd/windows/winmain.c
r13085r13086
866866   info.bmiHeader.biYPelsPerMeter = GetDeviceCaps(dummyDC, VERTRES) / GetDeviceCaps(dummyDC, VERTSIZE);
867867   info.bmiHeader.biClrUsed = 0;
868868   info.bmiHeader.biClrImportant = 0;
869   info.bmiColors[0].rgbBlue = info.bmiColors[0].rgbGreen = info.bmiColors[0].rgbRed = 0x00;
870   info.bmiColors[1].rgbBlue = info.bmiColors[1].rgbGreen = info.bmiColors[1].rgbRed = 0xff;
869   RGBQUAD col1 = info.bmiColors[0];
870   RGBQUAD col2 = info.bmiColors[1];   
871   col1.rgbBlue = col1.rgbGreen = col1.rgbRed = 0x00;
872   col2.rgbBlue = col2.rgbGreen = col2.rgbRed = 0xff;
871873
872874   // create a DIB to render to
873875   BYTE *bits;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team