Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Software scaling support. Not very fast, but it seems to work.
  • Loading branch information
KenRogoway committed Feb 14, 2011
1 parent 69af9a3 commit ea308dc521305636f3c5cc31f4ec244f993d2a69

File 1 of 3 in ea308dc

@@ -464,6 +464,17 @@ extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface * src,
SDL_Surface * dst,
const SDL_Rect * dstrect);

/**
* \brief Perform a fast, low quality, stretch blit between two surfaces of the
* different pixel formats.
*
* \note This function calls SDL_SoftStretch or SDL_LowerBlit.
*/
extern DECLSPEC int SDLCALL SDL_BlitScaled
(SDL_Surface * src, const SDL_Rect * srcrect,
SDL_Surface * dst, const SDL_Rect * dstrect);


/* Ends C function definitions when using C++ */
#ifdef __cplusplus
/* *INDENT-OFF* */

0 comments on commit ea308dc

Please sign in to comment.