mirror of
https://github.com/yawut/SDL.git
synced 2026-09-10 01:56:15 -05:00
Fixed up shape files as best I can.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
eligottlieb@gmail.com
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <X11/extensions/shape.h>
|
||||
#include "SDL_x11shape.h"
|
||||
#include "SDL_x11window.h"
|
||||
|
||||
Reference in New Issue
Block a user