Mercurial > sdl-ios-xcode
comparison src/video/cocoa/SDL_cocoashape.m @ 4831:8dabd625079f
Building under OS X with command-line tools now works.
author | egottlieb |
---|---|
date | Tue, 03 Aug 2010 23:41:57 -0400 |
parents | 3dfe779900f5 |
children | 0c82f20327ec |
comparison
equal
deleted
inserted
replaced
4830:3dfe779900f5 | 4831:8dabd625079f |
---|---|
22 | 22 |
23 #include "SDL_stdinc.h" | 23 #include "SDL_stdinc.h" |
24 #include "SDL_cocoavideo.h" | 24 #include "SDL_cocoavideo.h" |
25 #include "SDL_shape.h" | 25 #include "SDL_shape.h" |
26 #include "SDL_cocoashape.h" | 26 #include "SDL_cocoashape.h" |
27 #include "SDL_sysvideo.h" | 27 #include "../SDL_sysvideo.h" |
28 | 28 |
29 SDL_WindowShaper* Cocoa_CreateShaper(SDL_Window* window) { | 29 SDL_WindowShaper* Cocoa_CreateShaper(SDL_Window* window) { |
30 SDL_WindowData* data = (SDL_WindowData*)window->driverdata; | 30 SDL_WindowData* data = (SDL_WindowData*)window->driverdata; |
31 [data->nswindow setAlpha:1.0]; | 31 [data->nswindow setAlpha:1.0]; |
32 [data->nswindow setOpaque:YES]; | 32 [data->nswindow setOpaque:YES]; |