Fixed constness in RenderRects() parameter
authorSam Lantinga <slouken@libsdl.org>
Fri, 11 Dec 2009 09:13:51 +0000
changeset 3540 3ad09fdbfcb0
parent 3539 f2846bf19360
child 3541 0c429a5fda8a
Fixed constness in RenderRects() parameter
src/video/SDL_video.c
--- 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;