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
This commit is contained in:
parent
fa1e7172fc
commit
d1159d9a1b
2 changed files with 3 additions and 1 deletions
|
@ -108,6 +108,8 @@
|
||||||
#define HAVE_NANOSLEEP 1
|
#define HAVE_NANOSLEEP 1
|
||||||
#define HAVE_SYSCONF 1
|
#define HAVE_SYSCONF 1
|
||||||
#define HAVE_SYSCTLBYNAME 1
|
#define HAVE_SYSCTLBYNAME 1
|
||||||
|
#define HAVE_ATAN 1
|
||||||
|
#define HAVE_ATAN2 1
|
||||||
|
|
||||||
/* Enable various audio drivers */
|
/* Enable various audio drivers */
|
||||||
#define SDL_AUDIO_DRIVER_COREAUDIO 1
|
#define SDL_AUDIO_DRIVER_COREAUDIO 1
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include "SDL_cocoavideo.h"
|
#include "SDL_cocoavideo.h"
|
||||||
#include "SDL_shape.h"
|
#include "SDL_shape.h"
|
||||||
#include "SDL_cocoashape.h"
|
#include "SDL_cocoashape.h"
|
||||||
#include "../src/video/SDL_sysvideo.h"
|
#include "../SDL_sysvideo.h"
|
||||||
|
|
||||||
SDL_WindowShaper*
|
SDL_WindowShaper*
|
||||||
Cocoa_CreateShaper(SDL_Window* window) {
|
Cocoa_CreateShaper(SDL_Window* window) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue