Mercurial > sdl-ios-xcode
diff src/video/SDL_renderer_sw.c @ 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 | c5af44c1eea9 |
children | da10636e5eca |
line wrap: on
line diff
--- a/src/video/SDL_renderer_sw.c Thu Dec 02 11:56:23 2010 -0800 +++ b/src/video/SDL_renderer_sw.c Sun Dec 12 15:19:05 2010 -0800 @@ -90,7 +90,7 @@ SDL_TEXTUREMODULATE_ALPHA), (SDL_BLENDMODE_NONE | SDL_BLENDMODE_MASK | SDL_BLENDMODE_BLEND | SDL_BLENDMODE_ADD | SDL_BLENDMODE_MOD), - (SDL_TEXTURESCALEMODE_NONE | SDL_TEXTURESCALEMODE_FAST), + (SDL_SCALEMODE_NONE | SDL_SCALEMODE_FAST), 14, { SDL_PIXELFORMAT_INDEX8,