Commit 8b103591 authored by Sam Lantinga's avatar Sam Lantinga

debug cleanup

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401944
parent 4beaa4e6
......@@ -554,7 +554,7 @@ SDL_GDI_RenderFill(SDL_Renderer * renderer, const SDL_Rect * rect,
SDL_GDI_RenderData *data = (SDL_GDI_RenderData *) renderer->driverdata;
Uint8 r, g, b;
RECT rc;
static HBRUSH brush;
HBRUSH brush;
int status;
if (data->makedirty) {
......@@ -738,7 +738,6 @@ SDL_GDI_RenderPresent(SDL_Renderer * renderer)
int new_hbm;
/* Send the data to the display */
/*
if (!(renderer->info.flags & SDL_Renderer_SingleBuffer)) {
for (dirty = data->dirty.list; dirty; dirty = dirty->next) {
const SDL_Rect *rect = &dirty->rect;
......@@ -747,8 +746,6 @@ SDL_GDI_RenderPresent(SDL_Renderer * renderer)
}
SDL_ClearDirtyRects(&data->dirty);
}
*/
BitBlt(data->window_hdc, 0, 0, 640, 480, data->render_hdc, 0, 0, SRCCOPY);
/* Update the flipping chain, if any */
if (renderer->info.flags & SDL_Renderer_PresentFlip2) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment