diff src/video/win32/SDL_gdirender.c @ 1901:f1828a500391

Removed libc dependency on Windows again, to fix building with Visual C++ 2005 Express Edition. Fixed performance problem with testsprite2 on the D3D driver.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 13 Jul 2006 08:13:02 +0000
parents 5c6bdbf3aadf
children f132024010be
line wrap: on
line diff
--- a/src/video/win32/SDL_gdirender.c	Wed Jul 12 09:25:17 2006 +0000
+++ b/src/video/win32/SDL_gdirender.c	Thu Jul 13 08:13:02 2006 +0000
@@ -79,7 +79,7 @@
     SDL_GDI_CreateRenderer,
     {
      "gdi",
-     (                          //SDL_Renderer_Minimal |
+     (SDL_Renderer_Minimal |
          SDL_Renderer_SingleBuffer | SDL_Renderer_PresentCopy |
          SDL_Renderer_PresentFlip2 | SDL_Renderer_PresentFlip3 |
          SDL_Renderer_PresentDiscard | SDL_Renderer_RenderTarget),
@@ -735,7 +735,6 @@
 {
     SDL_GDI_RenderData *data = (SDL_GDI_RenderData *) renderer->driverdata;
     SDL_DirtyRect *dirty;
-    int new_hbm;
 
     /* Send the data to the display */
     if (!(renderer->info.flags & SDL_Renderer_SingleBuffer)) {