changeset 1899:6a11e61bf805

debug cleanup
author Sam Lantinga <slouken@libsdl.org>
date Wed, 12 Jul 2006 08:09:57 +0000
parents f89e49e51e89
children 5c6bdbf3aadf
files src/video/win32/SDL_gdirender.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/win32/SDL_gdirender.c	Wed Jul 12 07:01:35 2006 +0000
+++ b/src/video/win32/SDL_gdirender.c	Wed Jul 12 08:09:57 2006 +0000
@@ -554,7 +554,7 @@
     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 @@
     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_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) {