Sam Lantinga
a9072159b2
Updated copyright for 2018
2018-01-03 10:03:25 -08:00
Sam Lantinga
6224870504
Fixed mingw Windows build, since SDL_vulkan_internal.h includes windows.h
2017-08-28 00:43:14 -07:00
Sam Lantinga
7bb3adf896
Renaming of guard header names to quiet -Wreserved-id-macro
2017-08-28 00:22:23 -07:00
Philipp Wiesemann
dd5a8431b5
Fixed SDL_GetWindowWMInfo() returning success on three unsupported platforms.
2017-06-15 23:30:29 +02:00
Philipp Wiesemann
6bc4a0c0a5
PSP: Fixed error messages.
2017-04-02 21:33:54 +02:00
Philipp Wiesemann
63db7e414d
Removed newlines from error messages.
2017-03-26 21:00:19 +02:00
Sam Lantinga
3355469802
Fixed bug 3529 - SDL_EGL_UnloadLibrary is not called at all on SDL_Quit
...
kaisyu
In case of OpenGLES, the sequences of loading and unloading driver library should be like that:
SDL_Init
...
SDL_GL_LoadLibrary
SDL_EGL_LoadLibrary
...
SDL_Quit
...
SDL_GL_UnloadLibrary
SDL_EGL_UnloadLibrary
...
However, according to my test results, the varible '_this->gl_config.driver_loaded' does not allow 'SDL_GL_UnloadLibrary' to call 'SDL_EGL_UnloadLibrary'.
2017-01-01 19:10:36 -08:00
Sam Lantinga
d77ab77a7a
Updated copyright for 2017
2017-01-01 18:33:28 -08:00
Sam Lantinga
04c2e22b30
Fixed a bunch of SwapWindow calls that needed their return value updated
2016-12-09 05:12:27 -08:00
Sam Lantinga
b505909719
Fixed bug 3513 - SDL_GL_SwapWindow does not return error status
...
Return an error code from SDL_GL_SwapWindow(), like the other SDL APIs.
2016-12-09 01:47:43 -08:00
Philipp Wiesemann
0f602c1985
PSP: Fixed memory leak if video init failed.
2016-08-03 22:32:20 +02:00
Philipp Wiesemann
9a47a9d16a
Updated comments in video implementations.
2016-07-18 22:03:47 +02:00
Ryan C. Gordon
b0c0d27997
Patched to compile on various platforms.
2016-04-12 18:11:36 -04:00
Ryan C. Gordon
5006582bed
threads: Move SDL's own thread creation to a new internal API.
...
This allows us to set an explicit stack size (overriding the system default
and the global hint an app might have set), and remove all the macro salsa
for dealing with _beginthreadex and such, as internal threads always set those
to NULL anyhow.
I've taken some guesses on reasonable (and tiny!) stack sizes for our
internal threads, but some of these might turn out to be too small in
practice and need an increase. Most of them are simple functions, though.
2016-04-12 16:45:10 -04:00
Philipp Wiesemann
e6d7c52fac
PSP: Fixed missing error message for unsupported SDL_CreateWindowFrom().
2016-04-01 21:11:31 +02:00
Sam Lantinga
255c182471
Updated copyright to 2016
2016-01-02 10:10:34 -08:00
Philipp Wiesemann
2fd9938832
PSP: Replaced use of SDLKey with SDL_Keycode.
2015-08-24 22:35:01 +02:00
Philipp Wiesemann
952fab6dab
PSP: Fixed a syntax error.
...
Found by Cppcheck.
2015-08-24 22:31:36 +02:00
Sam Lantinga
78f2198e6c
Updated the copyright year to 2015
2015-05-26 06:27:46 -07:00
Philipp Wiesemann
e7bde43d07
Added missing guards in implementation for PSP.
...
Thanks to Martin Gerhardy for pointing this out.
2015-01-31 22:45:54 +01:00
Philipp Wiesemann
ee06d1bc3f
Added missing include statements in implementation for PSP.
...
SDL_internal.h should be included to support dynamic API and fix warnings.
2015-01-31 22:43:05 +01:00
Philipp Wiesemann
f6a48d209e
Fixed names in implementation for PSP.
2015-01-31 10:33:48 +01:00
Sam Lantinga
dba255c1e5
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Ryan C. Gordon
03d5719413
Make internal SDL sources include SDL_internal.h instead of SDL_config.h
...
The new header will include SDL_config.h, but allows for other global stuff.
2013-11-24 23:56:17 -05:00
Gabriel Jacobo
8515791f86
OCD fixes: Adds a space after /* (glory to regular expressions!)
2013-08-21 09:47:10 -03:00
Gabriel Jacobo
871473e032
OCD fixes: Adds a space before */
2013-08-21 09:43:09 -03:00
Sam Lantinga
0d9b661db8
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Philipp Wiesemann
bf4b77bbce
Fixed SDL_HasScreenKeyboardSupport() returning SDL_TRUE for PSP.
...
There is currently no implementation and therefore no support.
2013-05-05 15:39:37 +02:00
Philipp Wiesemann
70f0f362c8
Removed SDL prefix from internal function pointers for screen keyboard access.
2013-05-02 23:12:03 +02:00
Ryan C. Gordon
16cdc59bab
Make SDL_SetError and friends unconditionally return -1.
...
This lets us change things like this...
if (Failed) {
SDL_SetError("We failed");
return -1;
}
...into this...
if (Failed) {
return SDL_SetError("We failed");
}
Fixes Bugzilla #1778 .
2013-03-31 12:48:50 -04:00
Captain Lex
a18bccd5f3
Add PSP support
2013-03-17 20:07:02 +08:00