Fri, 05 Jul 2013 01:18:18 -0400Don't set the same GL context twice on Mac OS X (thanks, Alex!).
Ryan C. Gordon <icculus@icculus.org> [Fri, 05 Jul 2013 01:18:18 -0400] rev 7347
Don't set the same GL context twice on Mac OS X (thanks, Alex!).

Fixes Bugzilla #1939.

Fri, 05 Jul 2013 01:09:27 -0400Fixed some __BEOS__ vs __HAIKU__ preprocessor tests (thanks, Axel!).
Ryan C. Gordon <icculus@icculus.org> [Fri, 05 Jul 2013 01:09:27 -0400] rev 7346
Fixed some __BEOS__ vs __HAIKU__ preprocessor tests (thanks, Axel!).

Fixes Bugzilla #1773.

Fri, 05 Jul 2013 00:54:00 -0400Don't crash if SDL_AudioQuit() is called twice in a row.
Ryan C. Gordon <icculus@icculus.org> [Fri, 05 Jul 2013 00:54:00 -0400] rev 7345
Don't crash if SDL_AudioQuit() is called twice in a row.

Fixes Bugzilla #1396.

Fri, 05 Jul 2013 00:41:34 -0400Strip newlines from messages in SDL_Log*() before calling logging function.
Ryan C. Gordon <icculus@icculus.org> [Fri, 05 Jul 2013 00:41:34 -0400] rev 7344
Strip newlines from messages in SDL_Log*() before calling logging function.

Fri, 05 Jul 2013 00:41:01 -0400Added a FIXME.
Ryan C. Gordon <icculus@icculus.org> [Fri, 05 Jul 2013 00:41:01 -0400] rev 7343
Added a FIXME.

Fri, 05 Jul 2013 00:30:23 -0400Don't close already-closed audio devices during SDL_Quit().
Ryan C. Gordon <icculus@icculus.org> [Fri, 05 Jul 2013 00:30:23 -0400] rev 7342
Don't close already-closed audio devices during SDL_Quit().

Otherwise, we spam a bunch of unnecessary SDL_SetError() calls.

Fixes Bugzilla #1791.

Wed, 03 Jul 2013 12:31:40 -0700Added SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS to the documentation for the joystick and game controller APIs
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Jul 2013 12:31:40 -0700] rev 7341
Added SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS to the documentation for the joystick and game controller APIs

Tue, 04 Jun 2013 12:02:18 -0400add in alt+enter keyboard shortcut to test common to toggle fullscreen desktop
Edward Rudd <urkle@outoforder.cc> [Tue, 04 Jun 2013 12:02:18 -0400] rev 7340
add in alt+enter keyboard shortcut to test common to toggle fullscreen desktop

Sat, 29 Jun 2013 14:40:55 -0700Fixed the logical size for rendering to texture, thanks to Mason Wheeler.
Sam Lantinga <slouken@libsdl.org> [Sat, 29 Jun 2013 14:40:55 -0700] rev 7339
Fixed the logical size for rendering to texture, thanks to Mason Wheeler.

Mason Wheeler

The SDL_RenderGetLogicalSize function should always return the amount of pixels that are currently available for rendering to. But after updating to the latest SDL2, I started getting crashes because it was returning (0,0) as the logical size! After a bit of debugging, I tracked it down to the following code in SDL_SetRenderTarget:

if (texture) {
renderer->viewport.x = 0;
renderer->viewport.y = 0;
renderer->viewport.w = texture->w;
renderer->viewport.h = texture->h;
renderer->scale.x = 1.0f;
renderer->scale.y = 1.0f;
renderer->logical_w = 0;
renderer->logical_h = 0;
}

This is obviously wrong; 0 is never the correct value for a valid renderer. Those last two lines should read:

renderer->logical_w = texture->w;
renderer->logical_h = texture->h;

Sat, 29 Jun 2013 22:08:38 +0200Changed paths and name of header file in text of VisualC.html.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 29 Jun 2013 22:08:38 +0200] rev 7338
Changed paths and name of header file in text of VisualC.html.