Fixed up shape files as best I can.

This commit is contained in:
Eli Gottlieb 2010-07-07 16:20:54 -04:00
parent 9f24e9f619
commit e5592bfb4b
2 changed files with 2 additions and 1 deletions

View file

@ -62,7 +62,7 @@ void SDL_CalculateShapeBitmap(Uint8 alphacutoff,SDL_Surface *shape,Uint8* bitmap
}
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)

View file

@ -20,6 +20,7 @@
eligottlieb@gmail.com
*/
#include <assert.h>
#include <X11/extensions/shape.h>
#include "SDL_x11shape.h"
#include "SDL_x11window.h"