Mercurial > sdl-ios-xcode
comparison src/video/qnxgf/SDL_gf_render.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 | f7b03b6838cb |
children | da10636e5eca |
comparison
equal
deleted
inserted
replaced
4927:d716dff4b13e | 4929:aa8888658021 |
---|---|
85 SDL_RENDERER_ACCELERATED), | 85 SDL_RENDERER_ACCELERATED), |
86 (SDL_TEXTUREMODULATE_NONE | SDL_TEXTUREMODULATE_COLOR | | 86 (SDL_TEXTUREMODULATE_NONE | SDL_TEXTUREMODULATE_COLOR | |
87 SDL_TEXTUREMODULATE_ALPHA), | 87 SDL_TEXTUREMODULATE_ALPHA), |
88 (SDL_BLENDMODE_NONE | SDL_BLENDMODE_MASK | | 88 (SDL_BLENDMODE_NONE | SDL_BLENDMODE_MASK | |
89 SDL_BLENDMODE_BLEND | SDL_BLENDMODE_ADD | SDL_BLENDMODE_MOD), | 89 SDL_BLENDMODE_BLEND | SDL_BLENDMODE_ADD | SDL_BLENDMODE_MOD), |
90 (SDL_TEXTURESCALEMODE_NONE | SDL_TEXTURESCALEMODE_SLOW), | 90 (SDL_SCALEMODE_NONE | SDL_SCALEMODE_SLOW), |
91 13, | 91 13, |
92 { | 92 { |
93 SDL_PIXELFORMAT_INDEX8, | 93 SDL_PIXELFORMAT_INDEX8, |
94 SDL_PIXELFORMAT_RGB555, | 94 SDL_PIXELFORMAT_RGB555, |
95 SDL_PIXELFORMAT_RGB565, | 95 SDL_PIXELFORMAT_RGB565, |