diff options
author | Colin Snover | 2017-09-12 11:26:30 -0500 |
---|---|---|
committer | Colin Snover | 2017-09-12 11:27:45 -0500 |
commit | c2a4784706502b21cde005979851f80d65698622 (patch) | |
tree | fb69b9c5d551db9536f76ec296a761107b507408 /backends/graphics/surfacesdl | |
parent | fac7797e3eec7c69cff0197595a163db9e3b2ceb (diff) | |
download | scummvm-rg350-c2a4784706502b21cde005979851f80d65698622.tar.gz scummvm-rg350-c2a4784706502b21cde005979851f80d65698622.tar.bz2 scummvm-rg350-c2a4784706502b21cde005979851f80d65698622.zip |
SDL: Fix compilation on PSP2
Diffstat (limited to 'backends/graphics/surfacesdl')
-rw-r--r-- | backends/graphics/surfacesdl/surfacesdl-graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<Graphics::PixelFormat> 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)); } |