Mercurial > sdl-ios-xcode
diff src/video/win32/SDL_gapirender.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 | e1664f94f026 |
children |
line wrap: on
line diff
--- a/src/video/win32/SDL_gapirender.c Thu Dec 02 11:56:23 2010 -0800 +++ b/src/video/win32/SDL_gapirender.c Sun Dec 12 15:19:05 2010 -0800 @@ -210,7 +210,7 @@ (SDL_RENDERER_SINGLEBUFFER | SDL_RENDERER_PRESENTDISCARD), (SDL_TEXTUREMODULATE_NONE), (SDL_BLENDMODE_NONE), - (SDL_TEXTURESCALEMODE_NONE), + (SDL_SCALEMODE_NONE), 7, { SDL_PIXELFORMAT_RGB555, @@ -233,7 +233,7 @@ (SDL_RENDERER_SINGLEBUFFER | SDL_RENDERER_PRESENTDISCARD), (SDL_TEXTUREMODULATE_NONE), (SDL_BLENDMODE_NONE), - (SDL_TEXTURESCALEMODE_NONE), + (SDL_SCALEMODE_NONE), 7, { SDL_PIXELFORMAT_RGB555,