Mercurial > sdl-ios-xcode
comparison src/video/cocoa/SDL_cocoashape.m @ 4907:a2cf0174e5ab
Fix incorrect shape include and add HAVE_ATAN and HAVE_ATAN2 for OSX builds.
--
user: Andreas Schiffler <aschiffler@ferzkopp.net>
branch 'default'
changed include/SDL_config_macosx.h
changed src/video/cocoa/SDL_cocoashape.m
author | Andreas Schiffler <aschiffler@ferzkopp.net> |
---|---|
date | Tue, 16 Nov 2010 07:03:26 -0800 |
parents | 8f1994e8d886 |
children | 514f811a4887 |
comparison
equal
deleted
inserted
replaced
4906:67acc9ab60ff | 4907:a2cf0174e5ab |
---|---|
21 */ | 21 */ |
22 | 22 |
23 #include "SDL_cocoavideo.h" | 23 #include "SDL_cocoavideo.h" |
24 #include "SDL_shape.h" | 24 #include "SDL_shape.h" |
25 #include "SDL_cocoashape.h" | 25 #include "SDL_cocoashape.h" |
26 #include "../src/video/SDL_sysvideo.h" | 26 #include "../SDL_sysvideo.h" |
27 | 27 |
28 SDL_WindowShaper* | 28 SDL_WindowShaper* |
29 Cocoa_CreateShaper(SDL_Window* window) { | 29 Cocoa_CreateShaper(SDL_Window* window) { |
30 SDL_WindowData* windata = (SDL_WindowData*)window->driverdata; | 30 SDL_WindowData* windata = (SDL_WindowData*)window->driverdata; |
31 [windata->nswindow setOpaque:NO]; | 31 [windata->nswindow setOpaque:NO]; |