Sat, 07 Jan 2012 21:01:33 -0800Fixed crash if the rendering system couldn't create an OpenGL window.
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 21:01:33 -0800] rev 6182
Fixed crash if the rendering system couldn't create an OpenGL window.

Sat, 07 Jan 2012 23:33:15 -0500Fixed bug 1313 - Segfault on SDL_CreateWindow when gl lib cannot be loaded
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 23:33:15 -0500] rev 6181
Fixed bug 1313 - Segfault on SDL_CreateWindow when gl lib cannot be loaded

Don't crash if the gl_data isn't valid, just return NULL.

Sat, 07 Jan 2012 22:52:41 -0500Fixed bug 1333 - segfault if opengl window could not get created
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 22:52:41 -0500] rev 6180
Fixed bug 1333 - segfault if opengl window could not get created

When the window couldn't be created, the normal window destruction process happens, which among other things, destroys the framebuffer, if any.

Sat, 07 Jan 2012 22:34:51 -0500Fixed bug 1342 - SDL_CreateRenderer creates OpenGL ES 2.0 renderer in iPhone 3G using default index (-1)
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 22:34:51 -0500] rev 6179
Fixed bug 1342 - SDL_CreateRenderer creates OpenGL ES 2.0 renderer in iPhone 3G using default index (-1)

The uikit code wasn't checking to make sure the context was successfully created.

Sat, 07 Jan 2012 22:33:58 -0500Fixed tab spacing
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 22:33:58 -0500] rev 6178
Fixed tab spacing

Sat, 07 Jan 2012 22:20:15 -0500Fixed running on iPhone 3G
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 22:20:15 -0500] rev 6177
Fixed running on iPhone 3G

Sat, 07 Jan 2012 17:08:17 -0500Updated SDL test projects
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 17:08:17 -0500] rev 6176
Updated SDL test projects

Sat, 07 Jan 2012 16:57:09 -0500Added testnative to the Makefile and fixed building on Mac OS X
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 16:57:09 -0500] rev 6175
Added testnative to the Makefile and fixed building on Mac OS X

Sat, 07 Jan 2012 14:21:22 -0500Better error messaging when SDL can't create a window surface.
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 14:21:22 -0500] rev 6174
Better error messaging when SDL can't create a window surface.

Sat, 07 Jan 2012 13:52:10 -0500Fixed bug 1364 - Fullscreen OpenGL fails in OS 10.7 if deployment target is less than 10.7 SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Sat, 07 Jan 2012 13:52:10 -0500] rev 6173
Fixed bug 1364 - Fullscreen OpenGL fails in OS 10.7 if deployment target is less than 10.7

amaranth72@gmail.com 2012-01-07 01:28:40 PST
Using the latest Hg tip of SDL 1.2, SDL_SetVideoMode will fail with the
SDL_OPENGL and SDL_FULLSCREEN flags set if the computer is running Lion and the
build deployment target version is lower than 10.7.

The issue seems to be at line 840 of SDL_QuartzVideo.m, where it checks if the
minimum required version is less than 10.7. If that condition is true, then it
uses the pre-Lion fullscreen method, even though the condition doesn't seem to
say anything about whether the computer is currently running Lion or not.

I tried doing this inside the #if conditional check (pseudocode): if (isLion) {
do new Lion stuff } else { do old stuff } , and that seemed to work fine. An
"invalid fullscreen drawable" warning was still around even though fullscreen
worked with the new addition, but I think that's because Lion wants SDL to add
a new Spaces thing when it goes fullscreen.