Fixed constness in RenderRects() parameter
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404284
This commit is contained in:
parent
74c8c77e81
commit
4672f074e0
1 changed files with 1 additions and 1 deletions
|
@ -2585,7 +2585,7 @@ SDL_RenderRects(const SDL_Rect ** rects, int count)
|
||||||
if (rects[i] == NULL) {
|
if (rects[i] == NULL) {
|
||||||
SDL_Window *window;
|
SDL_Window *window;
|
||||||
SDL_Rect full_rect;
|
SDL_Rect full_rect;
|
||||||
SDL_Rect *rect;
|
const SDL_Rect *rect;
|
||||||
|
|
||||||
window = SDL_GetWindowFromID(renderer->window);
|
window = SDL_GetWindowFromID(renderer->window);
|
||||||
full_rect.x = 0;
|
full_rect.x = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue