From c2efedab22275302f0a10cc197424d345a021d18 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Jun 2012 20:13:48 +0300 Subject: Replace SDL int types to C++ types. --- src/resources/image.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/resources/image.h') diff --git a/src/resources/image.h b/src/resources/image.h index c7d2657bd..59178cca6 100644 --- a/src/resources/image.h +++ b/src/resources/image.h @@ -133,7 +133,7 @@ class Image : public Resource /** * Get the alpha Channel of a SDL surface. */ - Uint8 *SDLgetAlphaChannel() const + uint8_t *SDLgetAlphaChannel() const { return mAlphaChannel; } void SDLCleanCache(); @@ -183,14 +183,14 @@ class Image : public Resource /** SDL Constructor */ Image(SDL_Surface *image, bool hasAlphaChannel = false, - Uint8 *alphaChannel = nullptr); + uint8_t *alphaChannel = nullptr); SDL_Surface *getByAlpha(float alpha); SDL_Surface *mSDLSurface; /** Alpha Channel pointer used for 32bit based SDL surfaces */ - Uint8 *mAlphaChannel; + uint8_t *mAlphaChannel; std::map mAlphaCache; -- cgit v1.2.3-60-g2f50