comparison src/video/SDL_renderer_sw.c @ 4513:c5af44c1eea9

Fixed compile warning
author Sam Lantinga <slouken@libsdl.org>
date Tue, 13 Jul 2010 22:24:46 -0700
parents 791b3256fb22
children aa8888658021
comparison
equal deleted inserted replaced
4512:ba9ac6bb0c75 4513:c5af44c1eea9
793 static int 793 static int
794 SW_RenderCopy(SDL_Renderer * renderer, SDL_Texture * texture, 794 SW_RenderCopy(SDL_Renderer * renderer, SDL_Texture * texture,
795 const SDL_Rect * srcrect, const SDL_Rect * dstrect) 795 const SDL_Rect * srcrect, const SDL_Rect * dstrect)
796 { 796 {
797 SW_RenderData *data = (SW_RenderData *) renderer->driverdata; 797 SW_RenderData *data = (SW_RenderData *) renderer->driverdata;
798 SDL_Window *window = renderer->window;
799 int status; 798 int status;
800 799
801 if (data->renderer->info.flags & SDL_RENDERER_PRESENTCOPY) { 800 if (data->renderer->info.flags & SDL_RENDERER_PRESENTCOPY) {
802 SDL_AddDirtyRect(&data->dirty, dstrect); 801 SDL_AddDirtyRect(&data->dirty, dstrect);
803 } 802 }