Fixed constness in RenderRects() parameter

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404284
This commit is contained in:
Sam Lantinga 2009-12-11 09:13:51 +00:00
parent 74c8c77e81
commit 4672f074e0

View file

@ -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;