diff src/video/x11/SDL_x11shape.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 c68e7490e4cf
line wrap: on
line diff
--- a/src/video/x11/SDL_x11shape.c	Fri Jul 23 01:48:42 2010 -0400
+++ b/src/video/x11/SDL_x11shape.c	Mon Jul 26 17:27:04 2010 -0400
@@ -25,6 +25,10 @@
 #include "SDL_x11shape.h"
 #include "SDL_x11window.h"
 
+SDL_Window* X11_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* X11_CreateShaper(SDL_Window* window) {
 	SDL_WindowShaper* result = NULL;