Lots of fixes importing SDL source wholesale into a new iOS project

--HG--
rename : src/libm/math.h => src/libm/math_libm.h
This commit is contained in:
Sam Lantinga 2011-10-31 05:56:58 -04:00
parent e112859e94
commit ad2a21d404
135 changed files with 493 additions and 1093 deletions

View file

@ -115,7 +115,7 @@ SDL_CalculateShapeBitmap(SDL_WindowShapeMode mode,SDL_Surface *shape,Uint8* bitm
SDL_UnlockSurface(shape);
}
SDL_ShapeTree*
static SDL_ShapeTree*
RecursivelyCalculateShapeTree(SDL_WindowShapeMode mode,SDL_Surface* mask,SDL_Rect dimensions) {
int x = 0,y = 0;
Uint8* pixel = NULL;
@ -249,7 +249,7 @@ SDL_SetWindowShape(SDL_Window *window,SDL_Surface *shape,SDL_WindowShapeMode *sh
return result;
}
SDL_bool
static SDL_bool
SDL_WindowHasAShape(SDL_Window *window) {
if (window == NULL || !SDL_IsShapedWindow(window))
return SDL_FALSE;