Mercurial > sdl-ios-xcode
diff src/video/SDL_sysvideo.h @ 4929:aa8888658021
Use the enumerated type for blend and scale mode instead of int
Renamed SDL_TextureScaleMode to SDL_ScaleMode
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 12 Dec 2010 15:19:05 -0800 |
parents | 7b1d35d98294 |
children | 1cee937d9fcc |
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h Thu Dec 02 11:56:23 2010 -0800 +++ b/src/video/SDL_sysvideo.h Sun Dec 12 15:19:05 2010 -0800 @@ -46,8 +46,8 @@ int w; /**< The width of the texture */ int h; /**< The height of the texture */ int modMode; /**< The texture modulation mode */ - int blendMode; /**< The texture blend mode */ - int scaleMode; /**< The texture scale mode */ + SDL_BlendMode blendMode; /**< The texture blend mode */ + SDL_ScaleMode scaleMode; /**< The texture scale mode */ Uint8 r, g, b, a; /**< Texture modulation values */ SDL_Renderer *renderer; @@ -121,7 +121,7 @@ SDL_Texture *textures; Uint8 r, g, b, a; /**< Color for drawing operations values */ - int blendMode; /**< The drawing blend mode */ + SDL_BlendMode blendMode; /**< The drawing blend mode */ void *driverdata; };