diff src/video/SDL_video.c @ 3540:3ad09fdbfcb0

Fixed constness in RenderRects() parameter
author Sam Lantinga <slouken@libsdl.org>
date Fri, 11 Dec 2009 09:13:51 +0000
parents 0267b8b1595c
children 7812d3e9564e
line wrap: on
line diff
--- a/src/video/SDL_video.c	Fri Dec 11 08:03:43 2009 +0000
+++ b/src/video/SDL_video.c	Fri Dec 11 09:13:51 2009 +0000
@@ -2585,7 +2585,7 @@
         if (rects[i] == NULL) {
             SDL_Window *window;
             SDL_Rect full_rect;
-            SDL_Rect *rect;
+            const SDL_Rect *rect;
 
             window = SDL_GetWindowFromID(renderer->window);
             full_rect.x = 0;