From c2a4784706502b21cde005979851f80d65698622 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Tue, 12 Sep 2017 11:26:30 -0500 Subject: SDL: Fix compilation on PSP2 --- backends/graphics/surfacesdl/surfacesdl-graphics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/graphics') diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp index 0718c9293a..39d7e14785 100644 --- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp +++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp @@ -465,7 +465,7 @@ Common::List SurfaceSdlGraphicsManager::getSupportedForma } #if SDL_VERSION_ATLEAST(2, 0, 0) -static void maskToBitCount(uint32 mask, uint8 &numBits, uint8 &shift) { +static void maskToBitCount(Uint32 mask, uint8 &numBits, uint8 &shift) { numBits = 0; shift = 32; for (int i = 0; i < 32; ++i) { @@ -504,7 +504,7 @@ void SurfaceSdlGraphicsManager::detectSupportedFormats() { } int bpp; - uint32 rMask, gMask, bMask, aMask; + Uint32 rMask, gMask, bMask, aMask; if (SDL_PixelFormatEnumToMasks(defaultMode.format, &bpp, &rMask, &gMask, &bMask, &aMask) != SDL_TRUE) { error("Could not convert system pixel format %s to masks", SDL_GetPixelFormatName(defaultMode.format)); } -- cgit v1.2.3