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.

Thu, 11 Jul 2013 12:26:18 -0400Fixed compiler warning.
Ryan C. Gordon <icculus@icculus.org> [Thu, 11 Jul 2013 12:26:18 -0400] rev 7402
Fixed compiler warning.

Thu, 11 Jul 2013 12:17:13 -0400Cleaned up WGL_ACCELERATION_ARB usage.
Ryan C. Gordon <icculus@icculus.org> [Thu, 11 Jul 2013 12:17:13 -0400] rev 7401
Cleaned up WGL_ACCELERATION_ARB usage.

We now do FULL or NO accel based on the app's preference. If the app didn't
specify, we do FULL then fall back to NO.

(Not specifying anything--a true "don't care" scenario--breaks some ATI
drivers, so we try to keep to the spirit of it while forcing a specific
state.)

Previously, it would always do FULL, and try NO if it failed and the app
had requested NO or DONTCARE.

This is a transplant of hg changesets a04171d6fa11 and d0b7c45e982e from the
SDL-1.2 branch.

Fixes Bugzilla #1254.

Thu, 11 Jul 2013 01:09:45 -0400Added src/thread/pthread/SDL_systls.c to the CMake scripts.
Ryan C. Gordon <icculus@icculus.org> [Thu, 11 Jul 2013 01:09:45 -0400] rev 7400
Added src/thread/pthread/SDL_systls.c to the CMake scripts.