Thu, 11 Jul 2013 22:59:20 -0700Fixed bug 1946 - OpenGL contexts in threads
Sam Lantinga <slouken@libsdl.org> [Thu, 11 Jul 2013 22:59:20 -0700] rev 7412
Fixed bug 1946 - OpenGL contexts in threads

The SDL OpenGL context code is now properly thread aware. There are two new functions which return the current OpenGL window and context for the current thread.

There are still places in the cocoa driver where the OpenGL context needs to be updated when the view changes. These will need a different solution and still use the last globally set context to avoid changing behavior.

Fri, 12 Jul 2013 01:39:18 -0400SDL-1.2: Removed _NET_WM_ICON code...apparently it's causing problems. SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Fri, 12 Jul 2013 01:39:18 -0400] rev 7411
SDL-1.2: Removed _NET_WM_ICON code...apparently it's causing problems.

We support this in SDL 2.0, you should upgrade! :)

Fixes Bugzilla #1933.

Fri, 12 Jul 2013 01:26:43 -0400Fixed off-by-one error in SDL_ConvertStereo().
Ryan C. Gordon <icculus@icculus.org> [Fri, 12 Jul 2013 01:26:43 -0400] rev 7410
Fixed off-by-one error in SDL_ConvertStereo().

Fixes Bugzilla #561.

Thu, 11 Jul 2013 22:04:16 -0700Check the parameters to SDL_UpdateTexture()
Sam Lantinga <slouken@libsdl.org> [Thu, 11 Jul 2013 22:04:16 -0700] rev 7409
Check the parameters to SDL_UpdateTexture()

Thu, 11 Jul 2013 21:51:09 -0700Fixed bug 1958 - Cocoa SwapWindow doesn't swap the specified window
Sam Lantinga <slouken@libsdl.org> [Thu, 11 Jul 2013 21:51:09 -0700] rev 7408
Fixed bug 1958 - Cocoa SwapWindow doesn't swap the specified window

Ryan C. Gordon

We have this in Cocoa_GL_SwapWindow()...

/* FIXME: Do we need to get the context for the window? */
[[NSOpenGLContext currentContext] flushBuffer];

...which means if the current GL context is not the one in (window), we swap a different one than requested.

Right now, we don't store information about which context is assigned to which window, and the OS doesn't give you a way to retrieve it from an NSView. We would have to track this per-window during SDL_GL_MakeCurrent() (and SDL_GL_CreateContext) calls.

Thu, 11 Jul 2013 23:59:09 -0400Whoops, missed a part of that last commit.
Ryan C. Gordon <icculus@icculus.org> [Thu, 11 Jul 2013 23:59:09 -0400] rev 7407
Whoops, missed a part of that last commit.

Actually fixes Bugzilla #1857.

Thu, 11 Jul 2013 23:53:00 -0400Explicitly write silence to the audio device while it is paused.
Ryan C. Gordon <icculus@icculus.org> [Thu, 11 Jul 2013 23:53:00 -0400] rev 7406
Explicitly write silence to the audio device while it is paused.

This is what SDL 1.2 did; we'll do this properly (add a method for the target
driver to pause) when I rewrite all this code after the official 2.0 release.

Fixes Bugzilla #1857.

Thu, 11 Jul 2013 23:17:52 -0400Attempt to fix a compiler warning on Haiku.
Ryan C. Gordon <icculus@icculus.org> [Thu, 11 Jul 2013 23:17:52 -0400] rev 7405
Attempt to fix a compiler warning on Haiku.

(if this works...Haiku generates no warnings. I know, right?!?)

Thu, 11 Jul 2013 12:44:03 -0400Fixed compiler warnings on Haiku.
Ryan C. Gordon <icculus@icculus.org> [Thu, 11 Jul 2013 12:44:03 -0400] rev 7404
Fixed compiler warnings on Haiku.

Thu, 11 Jul 2013 12:27:39 -0400Removed some unused variables.
Ryan C. Gordon <icculus@icculus.org> [Thu, 11 Jul 2013 12:27:39 -0400] rev 7403
Removed some unused variables.