comparison include/SDL_compat.h @ 5141:da10636e5eca

Making the API simpler, scaling is always defined as linear interpolation and should be supported as much as possible on all renderers.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 31 Jan 2011 22:44:43 -0800
parents 481dabb098ef
children 2f44e6969a59
comparison
equal deleted inserted replaced
5140:e594f07297a9 5141:da10636e5eca
205 { 205 {
206 SDL_GRAB_QUERY = -1, 206 SDL_GRAB_QUERY = -1,
207 SDL_GRAB_OFF = 0, 207 SDL_GRAB_OFF = 0,
208 SDL_GRAB_ON = 1 208 SDL_GRAB_ON = 1
209 } SDL_GrabMode; 209 } SDL_GrabMode;
210
211 typedef enum
212 {
213 SDL_TEXTURESCALEMODE_NONE = SDL_SCALEMODE_NONE,
214 SDL_TEXTURESCALEMODE_FAST = SDL_SCALEMODE_FAST,
215 SDL_TEXTURESCALEMODE_SLOW = SDL_SCALEMODE_SLOW,
216 SDL_TEXTURESCALEMODE_BEST = SDL_SCALEMODE_BEST
217 } SDL_TextureScaleMode;
218 210
219 struct SDL_SysWMinfo; 211 struct SDL_SysWMinfo;
220 212
221 /** 213 /**
222 * \name Obsolete or renamed key codes 214 * \name Obsolete or renamed key codes