changeset 4786:175da36d1342

Fixed up shape files as best I can.
author Eli Gottlieb <eligottlieb@gmail.com>
date Wed, 07 Jul 2010 16:20:54 -0400
parents ef8b32ef9793
children e25ad8d97027
files src/video/SDL_shape.c src/video/x11/SDL_x11shape.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/SDL_shape.c	Tue Jul 06 22:05:22 2010 -0400
+++ b/src/video/SDL_shape.c	Wed Jul 07 16:20:54 2010 -0400
@@ -62,7 +62,7 @@
 }
 
 int SDL_SetWindowShape(SDL_Window *window,SDL_Surface *shape,SDL_WindowShapeMode *shapeMode) {
-	if(window == NULL || !SDL_WindowIsShaped(window))
+	if(window == NULL || !SDL_IsShapedWindow(window))
 		//The window given was not a shapeable window.
 		return -2;
 	if(shape == NULL)
--- a/src/video/x11/SDL_x11shape.c	Tue Jul 06 22:05:22 2010 -0400
+++ b/src/video/x11/SDL_x11shape.c	Wed Jul 07 16:20:54 2010 -0400
@@ -20,6 +20,7 @@
     eligottlieb@gmail.com
 */
 
+#include <assert.h>
 #include <X11/extensions/shape.h>
 #include "SDL_x11shape.h"
 #include "SDL_x11window.h"