include/SDL_video.h
changeset 5138 da10636e5eca
parent 5123 dc0dfdd58f27
child 5140 e743b9c3f6d6
     1.1 --- a/include/SDL_video.h	Mon Jan 31 22:21:29 2011 -0800
     1.2 +++ b/include/SDL_video.h	Mon Jan 31 22:44:43 2011 -0800
     1.3 @@ -33,7 +33,6 @@
     1.4  #include "SDL_pixels.h"
     1.5  #include "SDL_rect.h"
     1.6  #include "SDL_blendmode.h"
     1.7 -#include "SDL_scalemode.h"
     1.8  #include "SDL_surface.h"
     1.9  
    1.10  #include "begin_code.h"
    1.11 @@ -189,7 +188,6 @@
    1.12      Uint32 flags;               /**< Supported ::SDL_RendererFlags */
    1.13      Uint32 mod_modes;           /**< A mask of supported channel modulation */
    1.14      Uint32 blend_modes;         /**< A mask of supported blend modes */
    1.15 -    Uint32 scale_modes;         /**< A mask of supported scale modes */
    1.16      Uint32 num_texture_formats; /**< The number of available texture formats */
    1.17      Uint32 texture_formats[50]; /**< The available texture formats */
    1.18      int max_texture_width;      /**< The maximimum texture width */
    1.19 @@ -969,36 +967,6 @@
    1.20                                                      SDL_BlendMode *blendMode);
    1.21  
    1.22  /**
    1.23 - *  \brief Set the scale mode used for texture copy operations.
    1.24 - *  
    1.25 - *  \param texture The texture to update.
    1.26 - *  \param scaleMode ::SDL_ScaleMode to use for texture scaling.
    1.27 - *  
    1.28 - *  \return 0 on success, or -1 if the texture is not valid or the scale mode is
    1.29 - *          not supported.
    1.30 - *  
    1.31 - *  \note If the scale mode is not supported, the closest supported mode is
    1.32 - *        chosen.
    1.33 - *  
    1.34 - *  \sa SDL_GetTextureScaleMode()
    1.35 - */
    1.36 -extern DECLSPEC int SDLCALL SDL_SetTextureScaleMode(SDL_Texture * texture,
    1.37 -                                                    SDL_ScaleMode scaleMode);
    1.38 -
    1.39 -/**
    1.40 - *  \brief Get the scale mode used for texture copy operations.
    1.41 - *  
    1.42 - *  \param texture The texture to query.
    1.43 - *  \param scaleMode A pointer filled in with the current scale mode.
    1.44 - *  
    1.45 - *  \return 0 on success, or -1 if the texture is not valid.
    1.46 - *  
    1.47 - *  \sa SDL_SetTextureScaleMode()
    1.48 - */
    1.49 -extern DECLSPEC int SDLCALL SDL_GetTextureScaleMode(SDL_Texture * texture,
    1.50 -                                                    SDL_ScaleMode *scaleMode);
    1.51 -
    1.52 -/**
    1.53   *  \brief Update the given texture rectangle with new pixel data.
    1.54   *  
    1.55   *  \param texture The texture to update