Mercurial > sdl-ios-xcode
comparison src/video/SDL_renderer_sw.c @ 1930:9483df98e011
Fixed compiler warnings
Updated Visual C++ 2005 project
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 23 Jul 2006 00:55:25 +0000 |
parents | 595ac54a8f9f |
children | a788656ca29a |
comparison
equal
deleted
inserted
replaced
1929:595ac54a8f9f | 1930:9483df98e011 |
---|---|
406 static int | 406 static int |
407 SW_RenderFill(SDL_Renderer * renderer, const SDL_Rect * rect, Uint32 color) | 407 SW_RenderFill(SDL_Renderer * renderer, const SDL_Rect * rect, Uint32 color) |
408 { | 408 { |
409 SW_RenderData *data = (SW_RenderData *) renderer->driverdata; | 409 SW_RenderData *data = (SW_RenderData *) renderer->driverdata; |
410 Uint8 r, g, b, a; | 410 Uint8 r, g, b, a; |
411 void *pixels; | |
412 int pitch; | |
413 SDL_Rect real_rect; | 411 SDL_Rect real_rect; |
414 int status; | 412 int status; |
415 | 413 |
416 if (data->renderer->info.flags & SDL_Renderer_PresentCopy) { | 414 if (data->renderer->info.flags & SDL_Renderer_PresentCopy) { |
417 SDL_AddDirtyRect(&data->dirty, rect); | 415 SDL_AddDirtyRect(&data->dirty, rect); |