(svn r26943) -Fix: [Win32] Silence a warning about comparison of signed and unsigned variables when using gcc
This commit is contained in:
@@ -1045,7 +1045,7 @@ static bool AllocateDibSection(int w, int h, bool force)
|
|||||||
{
|
{
|
||||||
BITMAPINFO *bi;
|
BITMAPINFO *bi;
|
||||||
HDC dc;
|
HDC dc;
|
||||||
int bpp = BlitterFactory::GetCurrentBlitter()->GetScreenDepth();
|
uint bpp = BlitterFactory::GetCurrentBlitter()->GetScreenDepth();
|
||||||
|
|
||||||
w = max(w, 64);
|
w = max(w, 64);
|
||||||
h = max(h, 64);
|
h = max(h, 64);
|
||||||
@@ -1105,7 +1105,7 @@ static void FindResolutions()
|
|||||||
DEVMODEA dm;
|
DEVMODEA dm;
|
||||||
|
|
||||||
/* Check modes for the relevant fullscreen bpp */
|
/* Check modes for the relevant fullscreen bpp */
|
||||||
int bpp = _support8bpp != S8BPP_HARDWARE ? 32 : BlitterFactory::GetCurrentBlitter()->GetScreenDepth();
|
uint bpp = _support8bpp != S8BPP_HARDWARE ? 32 : BlitterFactory::GetCurrentBlitter()->GetScreenDepth();
|
||||||
|
|
||||||
/* XXX - EnumDisplaySettingsW crashes with unicows.dll on Windows95
|
/* XXX - EnumDisplaySettingsW crashes with unicows.dll on Windows95
|
||||||
* Doesn't really matter since we don't pass a string anyways, but still
|
* Doesn't really matter since we don't pass a string anyways, but still
|
||||||
|
Reference in New Issue
Block a user