comparison 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
comparison
equal deleted inserted replaced
4846:4f1573996a65 4848:40b46225e3cf
103 } 103 }
104 104
105 /* 105 /*
106 * Set the new region mask for the window 106 * Set the new region mask for the window
107 */ 107 */
108 mask_region = CreatePolyPolygonRgn(polygons,polygonVertexNumbers,num_rects,WINDING); 108 mask_region = CreatePolyPolygonRgn(polygons,polygonVertexNumbers,num_rects,WINDING);
109 SetWindowRgn(((SDL_WindowData *)(shaper->window->driverdata))->hwnd, mask_region, TRUE); 109 SetWindowRgn(((SDL_WindowData *)(shaper->window->driverdata))->hwnd, mask_region, TRUE);
110 110
111 SDL_free(polygons); 111 SDL_free(polygons);
112 SDL_free(polygonVertexNumbers); 112 SDL_free(polygonVertexNumbers);
113 113
114 return 0; 114 return 0;
115 } 115 }
116 116
117 int 117 int