diff src/video/SDL_sysvideo.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 797b37c0c046
children 31e7f523ab3d
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h	Mon Jan 31 22:21:29 2011 -0800
+++ b/src/video/SDL_sysvideo.h	Mon Jan 31 22:44:43 2011 -0800
@@ -47,7 +47,6 @@
     int h;                      /**< The height of the texture */
     int modMode;                /**< The texture modulation mode */
     SDL_BlendMode blendMode;    /**< The texture blend mode */
-    SDL_ScaleMode scaleMode;    /**< The texture scale mode */
     Uint8 r, g, b, a;           /**< Texture modulation values */
 
     SDL_Renderer *renderer;
@@ -78,8 +77,6 @@
                                SDL_Texture * texture);
     int (*SetTextureBlendMode) (SDL_Renderer * renderer,
                                 SDL_Texture * texture);
-    int (*SetTextureScaleMode) (SDL_Renderer * renderer,
-                                SDL_Texture * texture);
     int (*UpdateTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
                           const SDL_Rect * rect, const void *pixels,
                           int pitch);