diff options
author | Sam Lantinga <slouken@libsdl.org> | 2011-01-31 22:44:43 -0800 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2011-01-31 22:44:43 -0800 |
commit | 2c55b0be622df82a3c1ea1781dcd55a0eb2b1bc9 (patch) | |
tree | 2c50eafe5ea49ef0508b70a9d95adf1a6eb5801e /include/SDL_surface.h | |
parent | 03c65cea94d5445f2d5b06519fe6a9bff531ddc2 (diff) | |
download | sdl-2c55b0be622df82a3c1ea1781dcd55a0eb2b1bc9.tar.gz |
Making the API simpler, scaling is always defined as linear interpolation and should be supported as much as possible on all renderers.
Diffstat (limited to 'include/SDL_surface.h')
-rw-r--r-- | include/SDL_surface.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/include/SDL_surface.h b/include/SDL_surface.h index d8a3f4ff4..27f78ede3 100644 --- a/include/SDL_surface.h +++ b/include/SDL_surface.h @@ -33,7 +33,6 @@ #include "SDL_pixels.h" #include "SDL_rect.h" #include "SDL_blendmode.h" -#include "SDL_scalemode.h" #include "SDL_rwops.h" #include "begin_code.h" @@ -318,37 +317,6 @@ extern DECLSPEC int SDLCALL SDL_GetSurfaceBlendMode(SDL_Surface * surface, SDL_BlendMode *blendMode); /** - * \brief Set the scale mode used for blit operations. - * - * \param surface The surface to update. - * \param scaleMode ::SDL_ScaleMode to use for blit scaling. - * - * \return 0 on success, or -1 if the surface is not valid or the scale mode is - * not supported. - * - * \note If the scale mode is not supported, the closest supported mode is - * chosen. Currently only ::SDL_TEXTURESCALEMODE_FAST is supported on - * surfaces. - * - * \sa SDL_GetSurfaceScaleMode() - */ -extern DECLSPEC int SDLCALL SDL_SetSurfaceScaleMode(SDL_Surface * surface, - SDL_ScaleMode scaleMode); - -/** - * \brief Get the scale mode used for blit operations. - * - * \param surface The surface to query. - * \param scaleMode A pointer filled in with the current scale mode. - * - * \return 0 on success, or -1 if the surface is not valid. - * - * \sa SDL_SetSurfaceScaleMode() - */ -extern DECLSPEC int SDLCALL SDL_GetSurfaceScaleMode(SDL_Surface * surface, - SDL_ScaleMode *scaleMode); - -/** * Sets the clipping rectangle for the destination surface in a blit. * * If the clip rectangle is NULL, clipping will be disabled. |