diff src/video/win32/SDL_win32shape.c @ 4848:40b46225e3cf

Added SDL_SetWindowPosition() call to SDL_SetWindowShape(), going to see what this does on Windows.
author Eli Gottlieb <eligottlieb@gmail.com>
date Thu, 12 Aug 2010 18:17:15 -0400
parents c4f5bcaf7572
children 0b918c186938
line wrap: on
line diff
--- a/src/video/win32/SDL_win32shape.c	Tue Aug 10 16:10:26 2010 -0400
+++ b/src/video/win32/SDL_win32shape.c	Thu Aug 12 18:17:15 2010 -0400
@@ -105,11 +105,11 @@
     /*
      * Set the new region mask for the window 
      */
-	mask_region = CreatePolyPolygonRgn(polygons,polygonVertexNumbers,num_rects,WINDING);
+    mask_region = CreatePolyPolygonRgn(polygons,polygonVertexNumbers,num_rects,WINDING);
     SetWindowRgn(((SDL_WindowData *)(shaper->window->driverdata))->hwnd, mask_region, TRUE);
 
-	SDL_free(polygons);
-	SDL_free(polygonVertexNumbers);
+    SDL_free(polygons);
+    SDL_free(polygonVertexNumbers);
     
     return 0;
 }