Fixed constness in RenderRects() parameter
authorSam Lantinga <slouken@libsdl.org>
Fri, 11 Dec 2009 09:13:51 +0000
changeset 35403ad09fdbfcb0
parent 3539 f2846bf19360
child 3541 0c429a5fda8a
Fixed constness in RenderRects() parameter
src/video/SDL_video.c
     1.1 --- a/src/video/SDL_video.c	Fri Dec 11 08:03:43 2009 +0000
     1.2 +++ b/src/video/SDL_video.c	Fri Dec 11 09:13:51 2009 +0000
     1.3 @@ -2585,7 +2585,7 @@
     1.4          if (rects[i] == NULL) {
     1.5              SDL_Window *window;
     1.6              SDL_Rect full_rect;
     1.7 -            SDL_Rect *rect;
     1.8 +            const SDL_Rect *rect;
     1.9  
    1.10              window = SDL_GetWindowFromID(renderer->window);
    1.11              full_rect.x = 0;