comparison 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
comparison
equal deleted inserted replaced
4927:d716dff4b13e 4929:aa8888658021
88 SDL_RENDERER_PRESENTDISCARD | SDL_RENDERER_PRESENTVSYNC), 88 SDL_RENDERER_PRESENTDISCARD | SDL_RENDERER_PRESENTVSYNC),
89 (SDL_TEXTUREMODULATE_NONE | SDL_TEXTUREMODULATE_COLOR | 89 (SDL_TEXTUREMODULATE_NONE | SDL_TEXTUREMODULATE_COLOR |
90 SDL_TEXTUREMODULATE_ALPHA), 90 SDL_TEXTUREMODULATE_ALPHA),
91 (SDL_BLENDMODE_NONE | SDL_BLENDMODE_MASK | 91 (SDL_BLENDMODE_NONE | SDL_BLENDMODE_MASK |
92 SDL_BLENDMODE_BLEND | SDL_BLENDMODE_ADD | SDL_BLENDMODE_MOD), 92 SDL_BLENDMODE_BLEND | SDL_BLENDMODE_ADD | SDL_BLENDMODE_MOD),
93 (SDL_TEXTURESCALEMODE_NONE | SDL_TEXTURESCALEMODE_FAST), 93 (SDL_SCALEMODE_NONE | SDL_SCALEMODE_FAST),
94 14, 94 14,
95 { 95 {
96 SDL_PIXELFORMAT_INDEX8, 96 SDL_PIXELFORMAT_INDEX8,
97 SDL_PIXELFORMAT_RGB555, 97 SDL_PIXELFORMAT_RGB555,
98 SDL_PIXELFORMAT_RGB565, 98 SDL_PIXELFORMAT_RGB565,