Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
4927:d716dff4b13e | 4929:aa8888658021 |
---|---|
208 { | 208 { |
209 GAPI_RENDER_NAME, | 209 GAPI_RENDER_NAME, |
210 (SDL_RENDERER_SINGLEBUFFER | SDL_RENDERER_PRESENTDISCARD), | 210 (SDL_RENDERER_SINGLEBUFFER | SDL_RENDERER_PRESENTDISCARD), |
211 (SDL_TEXTUREMODULATE_NONE), | 211 (SDL_TEXTUREMODULATE_NONE), |
212 (SDL_BLENDMODE_NONE), | 212 (SDL_BLENDMODE_NONE), |
213 (SDL_TEXTURESCALEMODE_NONE), | 213 (SDL_SCALEMODE_NONE), |
214 7, | 214 7, |
215 { | 215 { |
216 SDL_PIXELFORMAT_RGB555, | 216 SDL_PIXELFORMAT_RGB555, |
217 SDL_PIXELFORMAT_RGB565, | 217 SDL_PIXELFORMAT_RGB565, |
218 SDL_PIXELFORMAT_YV12, | 218 SDL_PIXELFORMAT_YV12, |
231 { | 231 { |
232 RAW_RENDER_NAME, | 232 RAW_RENDER_NAME, |
233 (SDL_RENDERER_SINGLEBUFFER | SDL_RENDERER_PRESENTDISCARD), | 233 (SDL_RENDERER_SINGLEBUFFER | SDL_RENDERER_PRESENTDISCARD), |
234 (SDL_TEXTUREMODULATE_NONE), | 234 (SDL_TEXTUREMODULATE_NONE), |
235 (SDL_BLENDMODE_NONE), | 235 (SDL_BLENDMODE_NONE), |
236 (SDL_TEXTURESCALEMODE_NONE), | 236 (SDL_SCALEMODE_NONE), |
237 7, | 237 7, |
238 { | 238 { |
239 SDL_PIXELFORMAT_RGB555, | 239 SDL_PIXELFORMAT_RGB555, |
240 SDL_PIXELFORMAT_RGB565, | 240 SDL_PIXELFORMAT_RGB565, |
241 SDL_PIXELFORMAT_YV12, | 241 SDL_PIXELFORMAT_YV12, |