Mercurial > sdl-ios-xcode
comparison include/SDL_config_android.h @ 4960:0ab2492f2e17
Fixed 2D video on Android
There was a dummy renderer left in there which was overriding the OpenGL ES renderer.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 04 Jan 2011 20:36:39 -0800 |
parents | 77f079051f60 |
children | 6c645018741e |
comparison
equal
deleted
inserted
replaced
4959:16fec41375a6 | 4960:0ab2492f2e17 |
---|---|
53 #define HAVE_CTYPE_H 1 | 53 #define HAVE_CTYPE_H 1 |
54 #define HAVE_MATH_H 1 | 54 #define HAVE_MATH_H 1 |
55 #define HAVE_SIGNAL_H 1 | 55 #define HAVE_SIGNAL_H 1 |
56 | 56 |
57 /* C library functions */ | 57 /* C library functions */ |
58 #define HAVE_ATAN 1 | |
59 #define HAVE_ATAN2 1 | |
60 #define HAVE_MALLOC 1 | 58 #define HAVE_MALLOC 1 |
61 #define HAVE_CALLOC 1 | 59 #define HAVE_CALLOC 1 |
62 #define HAVE_REALLOC 1 | 60 #define HAVE_REALLOC 1 |
63 #define HAVE_FREE 1 | 61 #define HAVE_FREE 1 |
64 #define HAVE_ALLOCA 1 | 62 #define HAVE_ALLOCA 1 |
93 #define HAVE_STRCASECMP 1 | 91 #define HAVE_STRCASECMP 1 |
94 #define HAVE_STRNCASECMP 1 | 92 #define HAVE_STRNCASECMP 1 |
95 #define HAVE_SSCANF 1 | 93 #define HAVE_SSCANF 1 |
96 #define HAVE_SNPRINTF 1 | 94 #define HAVE_SNPRINTF 1 |
97 #define HAVE_VSNPRINTF 1 | 95 #define HAVE_VSNPRINTF 1 |
96 #define HAVE_M_PI 1 | |
97 #define HAVE_ATAN 1 | |
98 #define HAVE_ATAN2 1 | |
98 #define HAVE_CEIL 1 | 99 #define HAVE_CEIL 1 |
99 #define HAVE_COPYSIGN 1 | 100 #define HAVE_COPYSIGN 1 |
100 #define HAVE_COS 1 | 101 #define HAVE_COS 1 |
101 #define HAVE_COSF 1 | 102 #define HAVE_COSF 1 |
102 #define HAVE_FABS 1 | 103 #define HAVE_FABS 1 |
115 #define SIZEOF_VOIDP 4 | 116 #define SIZEOF_VOIDP 4 |
116 | 117 |
117 typedef unsigned int size_t; | 118 typedef unsigned int size_t; |
118 //typedef unsigned long uintptr_t; | 119 //typedef unsigned long uintptr_t; |
119 | 120 |
121 /* Enable various audio drivers */ | |
120 #define SDL_AUDIO_DRIVER_ANDROID 1 | 122 #define SDL_AUDIO_DRIVER_ANDROID 1 |
123 #define SDL_AUDIO_DRIVER_DUMMY 1 | |
121 | 124 |
122 #define SDL_CDROM_DISABLED 1 | 125 /* Enable various input drivers */ |
126 #define SDL_JOYSTICK_ANDROID 1 | |
127 #define SDL_HAPTIC_DUMMY 1 | |
123 | 128 |
124 #define SDL_HAPTIC_DISABLED 1 | 129 /* Enable various shared object loading systems */ |
125 | 130 #define SDL_LOADSO_DUMMY 1 |
126 #define SDL_JOYSTICK_ANDROID 1 | |
127 | |
128 #define SDL_LOADSO_DISABLED 1 | |
129 | 131 |
130 /* Enable various threading systems */ | 132 /* Enable various threading systems */ |
131 #define SDL_THREAD_PTHREAD 1 | 133 #define SDL_THREAD_PTHREAD 1 |
132 #define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1 | 134 #define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1 |
133 | 135 |
134 /* Enable various timer systems */ | 136 /* Enable various timer systems */ |
135 #define SDL_TIMER_UNIX 1 | 137 #define SDL_TIMER_UNIX 1 |
136 | 138 |
139 /* Enable various video drivers */ | |
137 #define SDL_VIDEO_DRIVER_ANDROID 1 | 140 #define SDL_VIDEO_DRIVER_ANDROID 1 |
138 | 141 |
139 #define HAVE_STDIO_H 1 | 142 /* Enable OpenGL ES */ |
140 #define HAVE_SYS_TYPES_H 1 | 143 #define SDL_VIDEO_OPENGL_ES 1 |
141 | 144 #define SDL_VIDEO_RENDER_OGL_ES 1 |
142 #define HAVE_M_PI 1 | |
143 | |
144 #define SDL_VIDEO_RENDER_OGL_ES 1 | |
145 | 145 |
146 #endif /* _SDL_config_minimal_h */ | 146 #endif /* _SDL_config_minimal_h */ |
147 |