diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-17 20:13:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-17 20:13:48 +0300 |
commit | c2efedab22275302f0a10cc197424d345a021d18 (patch) | |
tree | 7488abbb3655451a3f6a1621e0708f72011af5f6 /src/resources/image.h | |
parent | 79aba82be3de5b6b571e2f59f7a34ded4b03160f (diff) | |
download | mv-c2efedab22275302f0a10cc197424d345a021d18.tar.gz mv-c2efedab22275302f0a10cc197424d345a021d18.tar.bz2 mv-c2efedab22275302f0a10cc197424d345a021d18.tar.xz mv-c2efedab22275302f0a10cc197424d345a021d18.zip |
Replace SDL int types to C++ types.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r-- | src/resources/image.h | 6 |
1 files changed, 3 insertions, 3 deletions
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<float, SDL_Surface*> mAlphaCache; |