debug cleanup
authorSam Lantinga <slouken@libsdl.org>
Wed, 12 Jul 2006 08:09:57 +0000
changeset 18996a11e61bf805
parent 1898 f89e49e51e89
child 1900 5c6bdbf3aadf
debug cleanup
src/video/win32/SDL_gdirender.c
     1.1 --- a/src/video/win32/SDL_gdirender.c	Wed Jul 12 07:01:35 2006 +0000
     1.2 +++ b/src/video/win32/SDL_gdirender.c	Wed Jul 12 08:09:57 2006 +0000
     1.3 @@ -554,7 +554,7 @@
     1.4      SDL_GDI_RenderData *data = (SDL_GDI_RenderData *) renderer->driverdata;
     1.5      Uint8 r, g, b;
     1.6      RECT rc;
     1.7 -    static HBRUSH brush;
     1.8 +    HBRUSH brush;
     1.9      int status;
    1.10  
    1.11      if (data->makedirty) {
    1.12 @@ -738,7 +738,6 @@
    1.13      int new_hbm;
    1.14  
    1.15      /* Send the data to the display */
    1.16 -/*
    1.17      if (!(renderer->info.flags & SDL_Renderer_SingleBuffer)) {
    1.18          for (dirty = data->dirty.list; dirty; dirty = dirty->next) {
    1.19              const SDL_Rect *rect = &dirty->rect;
    1.20 @@ -747,8 +746,6 @@
    1.21          }
    1.22          SDL_ClearDirtyRects(&data->dirty);
    1.23      }
    1.24 -*/
    1.25 -    BitBlt(data->window_hdc, 0, 0, 640, 480, data->render_hdc, 0, 0, SRCCOPY);
    1.26  
    1.27      /* Update the flipping chain, if any */
    1.28      if (renderer->info.flags & SDL_Renderer_PresentFlip2) {