From 28641607cd06b95ae6847d4c45b4a659e93d31b9 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 11 Dec 2009 09:13:51 +0000 Subject: [PATCH] Fixed constness in RenderRects() parameter --- src/video/SDL_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index 51ffbb2bc..d66c1f64d 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -2585,7 +2585,7 @@ SDL_RenderRects(const SDL_Rect ** rects, int count) 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;