diff src/video/win32/SDL_win32shape.c @ 4809:329708ffe2a7

Rejiggering the way shaped windows are created as preparation for OS X implementation. Fixed overdrive bug in test program that appears to have been introduced by someone other than myself.
author Eli Gottlieb <eligottlieb@gmail.com>
date Mon, 26 Jul 2010 17:27:04 -0400
parents c9eb95f29770
children 5b4c7d7d8953
line wrap: on
line diff
--- a/src/video/win32/SDL_win32shape.c	Fri Jul 23 01:48:42 2010 -0400
+++ b/src/video/win32/SDL_win32shape.c	Mon Jul 26 17:27:04 2010 -0400
@@ -23,6 +23,10 @@
 #include <windows.h>
 #include "SDL_win32shape.h"
 
+SDL_Window* Win32_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags) {
+	return SDL_CreateWindow(title,x,y,w,h,flags);
+}
+
 SDL_WindowShaper* Win32_CreateShaper(SDL_Window * window) {
 	SDL_WindowShaper* result = malloc(sizeof(SDL_WindowShaper));
 	result->window = window;