Ryan C. Gordon <icculus@icculus.org> [Fri, 28 Sep 2012 14:12:45 -0400] rev 6498
Add a safety net X11 error handler, to reset the vidmodes before crashing.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 04:09:06 -0700] rev 6497
Fixed bug 1579 - Creating a texture with unsupported format may cause double-destruction
Alexander Hirsch 2012-08-25 20:01:29 PDT
When creating a SDL_Texture with unsupported format (I'll now refer to it as
texture A), SDL_CreateTexture will call SDL_CreateTexture again with
GetClosestSupportedFormat to set texture->native (which I will now refer to as
texture B).
This causes texture B to be put before A in renderer->textures.
If texture A is explicitly destroyed, everything is fine. Otherwise, upon
SDL_DestroyRenderer, the loop will first encounter texture B, destroy it, then
texture A, destroy that which will want to destroy texture->native and since it
is already destroyed set an error.
The solution could be as simple as swapping texture A with B after
texture->native gets set in SDL_CreateTextures.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 04:03:06 -0700] rev 6496
Fixed bug 1605 - SDL_DestroyWindow causes erroneous error message
You can't pass a NULL window into SDL_GL_MakeCurrent()
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 03:54:39 -0700] rev 6495
Clear the queue active flag when we shutdown, so we don't have a mutex error trying to read the queue.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 03:49:27 -0700] rev 6494
Fixed bug 1584 - Improved glError checks in the opengl renderer
Martin Gerhardy 2012-08-27 02:42:25 PDT
I've extended the gl error checks.
This is needed because on my system there are errors in the renderer that are
hard to find.
Also glError can return multiple errors. Even if SDL_SetError would only
contain the last one of course, the SDL log facilities are able to get the
output for each error.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 03:29:36 -0700] rev 6493
Made it clear that locking a streaming texture is a write-only operation.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 03:22:26 -0700] rev 6492
Result of autogen.sh run with previous commit
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 03:18:18 -0700] rev 6491
Fixed bug 1587 - "aclocal" fails to generate a sufficient "aclocal.m4"
Cecil Curry 2012-08-27 16:55:12 PDT
Allow "aclocal" to find the "AC_CHECK_DEFINE" macro.
On running:
rm aclocal.m4
libtoolize --install --copy --force
aclocal -I acinclude
autoconf -I acinclude
The former three commands succeed, but "autoconf" fails with:
configure.in:198: error: possibly undefined macro: AC_CHECK_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
"aclocal" fails to find AC_CHECK_DEFINE and hence add such macro to
"aclocal.m4". Here is why:
* "acinclude/ac_check_define.m4" defines AC_CHECK_DEFINE via define() rather
than AC_DEFUN().
* "aclocal" fails to find macros defined via define().
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 02:43:13 -0700] rev 6490
Fixed memory leak in an error case
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Sep 2012 02:33:42 -0700] rev 6489
Fixed bug 1496 - SDLView not created for a Cocoa window, resulting in missing right mouse clicks
When you create an nswindow it automatically gets a default view, so we'll just create an SDLView if we're creating the window.