Sam Lantinga
1ea8697894
Removed SDL_round() because the license wasn't compatible with zlib
2014-08-17 13:11:55 -07:00
Sam Lantinga
4e7db78ed9
Added SDL_round(), contributed by Benoit Pierre - thanks!
2014-08-16 23:23:15 -07:00
Sam Lantinga
a0b68e817d
Fixed bug 2537 - _allmul in SDL_lib.c is not working properly
2014-07-27 17:44:10 -07:00
Sam Lantinga
0d673844ac
Fixed bug 2596 - SDL_SetError fails on on NULL on systems with vsnprintf
...
sfalexrog
On systems with vsnprintf call SDL_SetError fails when passed a NULL as an argument. SDL's implementation checks for NULL (as seen in the commit: https://hg.libsdl.org/SDL/rev/835403a6aec8 ), but system implementation may crash.
2014-06-21 11:52:53 -07:00
Sam Clegg
7e52722dfd
Fix compiler warnings in Native Client and Linux builds.
2014-06-20 11:10:16 -03:00
Sam Lantinga
6101e4b20e
Added SDL_sqrtf(), SDL_tan(), SDL_tanf()
2014-06-07 18:20:01 -07:00
Sam Lantinga
40538446d9
Fixed crash with SDL_SetError(NULL)
2014-06-07 17:31:50 -07:00
Sam Lantinga
da6d9a9f2a
Added annotations to help code analysis tools
...
CR: Bruce Dawson
2014-06-04 10:56:56 -07:00
Yuri Kunde Schlesner
d12d7952f1
Align pointer in SDL_memset before doing Uint32 loop
...
Some more recent compilers emit SSE aligned store instructions for the loop,
causing crashes if the destination buffer isn't aligned on a 32-bit boundary.
This would also crash on platforms like ARM that require aligned stores.
This fixes a crash inside SDL_FillRect that happens with the official x64 mingw
build.
2014-05-10 21:48:46 -03:00
Sam Lantinga
1a4c0dacbc
Temporary fix for bug 2494 - Crashes due to the non thread-safe SDL_malloc/SDL_free on Windows
...
We'll define USE_LOCKS as a temporary fix until an alternative like ptmalloc, jemalloc, or nedmalloc can be investigated.
http://www.malloc.de/en/
http://www.canonware.com/jemalloc/
http://www.nedprod.com/programs/portable/nedmalloc/
SDL allocates memory very infrequently, so this is probably a decent fix for a while.
2014-05-10 11:27:43 -07:00
David Ludwig
3dcb451f85
Added a README file regarding WinRT support
...
To note, this file is currently formatted with CRLF line endings, rather than
LF, to allow the file to be viewed with Notepad.
2014-04-09 21:29:19 -04:00