Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed up shape files as best I can.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eli Gottlieb committed Jul 7, 2010
1 parent 9476867 commit 4c0f7b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/SDL_shape.c
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions src/video/x11/SDL_x11shape.c
Expand Up @@ -20,6 +20,7 @@
eligottlieb@gmail.com
*/

#include <assert.h>
#include <X11/extensions/shape.h>
#include "SDL_x11shape.h"
#include "SDL_x11window.h"
Expand Down

0 comments on commit 4c0f7b5

Please sign in to comment.