|
37b49e63
|
2017-04-09T23:00:26
|
|
ios: Fixed compiler warnings about unused variables in demo.
|
|
b4e069e7
|
2016-12-26T02:12:21
|
|
Fixed bug 3517 - Compiler warnings with gcc -Wstrict-prototypes
felix
Compiling even a simple SDL2 'hello world' program with gcc -Wstrict-prototypes (GCC 6.2.1) results in warnings like:
/usr/include/SDL2/SDL_gamecontroller.h:143:1: attention : function declaration isn't a prototype [-Wstrict-prototypes]
extern DECLSPEC int SDLCALL SDL_GameControllerNumMappings();
^~~~~~
It seems there is a missing 'void' between the parentheses.
|
|
c2cb0b0f
|
2016-09-30T23:31:24
|
|
iOS: Removed unused constant in demo.
|
|
357c3dd7
|
2016-09-26T23:09:19
|
|
iOS: Updated comment in demo.
|
|
a8b033d7
|
2016-09-25T00:23:35
|
|
Update the code for the iOS demos to handle modern devices. Fixes bug #3337
|
|
f0505766
|
2016-09-13T22:18:06
|
|
Initial Apple TV / tvOS support.
The Apple TV remote is currently exposed as a joystick with its touch surface treated as two axes. Key presses are also generated when its buttons and touch surface are used.
A new hint has been added to help deal with deciding whether to background the app when the remote's menu button is pressed: SDL_HINT_APPLE_TV_CONTROLLER_UI_EVENTS.
|
|
f3ca4e4d
|
2016-04-01T21:14:49
|
|
iOS: Fixed compiling demos on C89 compilers.
|
|
62ebc527
|
2016-03-28T21:01:46
|
|
iOS: Removed not needed SDL_WINDOW_SHOWN from rectangles demo.
|
|
bd60850b
|
2016-03-28T21:01:26
|
|
iOS: Fixed keyboard demo ignoring quit requests and window closing.
This also fixed a warning about an unused variable.
|
|
e9ca5b28
|
2016-03-27T22:26:34
|
|
iOS: Replaced #import with #include in two demos.
This extension to C is not required here and made the demos less portable.
|
|
5fa0cbc4
|
2016-03-27T22:25:13
|
|
iOS: Restored older version of rectangles demo.
The demo did not draw rectangles like described in the demo README.
|
|
0e45984f
|
2015-06-21T17:33:46
|
|
Fixed crash if initialization of EGL failed but was tried again later.
The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly
uninitialized data structure if loading the library first failed. A later try to
use EGL then skipped initialization and assumed it was previously successful
because the data structure now already existed. This led to at least one crash
in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was
dereferenced to make a call to eglBindAPI().
|