diff src/video/SDL_stretch.c @ 2828:7e5ff6cd05bf

Added very slow software scaling to the X11 renderer
author Sam Lantinga <slouken@libsdl.org>
date Wed, 03 Dec 2008 12:10:51 +0000
parents 8055185ae4ed
children 99210400e8b9
line wrap: on
line diff
--- a/src/video/SDL_stretch.c	Wed Dec 03 11:09:58 2008 +0000
+++ b/src/video/SDL_stretch.c	Wed Dec 03 12:10:51 2008 +0000
@@ -173,8 +173,8 @@
    NOTE:  This function is not safe to call from multiple threads!
 */
 int
-SDL_SoftStretch(SDL_Surface * src, SDL_Rect * srcrect,
-                SDL_Surface * dst, SDL_Rect * dstrect)
+SDL_SoftStretch(SDL_Surface * src, const SDL_Rect * srcrect,
+                SDL_Surface * dst, const SDL_Rect * dstrect)
 {
     int src_locked;
     int dst_locked;