changeset 3540:3ad09fdbfcb0

Fixed constness in RenderRects() parameter
author Sam Lantinga <slouken@libsdl.org>
date Fri, 11 Dec 2009 09:13:51 +0000
parents f2846bf19360
children 0c429a5fda8a
files src/video/SDL_video.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;