Wed, 30 Aug 2017 09:44:38 -0700Moved haptic source files into the proper folder
Sam Lantinga <slouken@libsdl.org> [Wed, 30 Aug 2017 09:44:38 -0700] rev 11428
Moved haptic source files into the proper folder

Wed, 30 Aug 2017 00:40:06 -0700Fix QNX build - prioritize system EGL headers over the Khronos ones
Sam Lantinga <slouken@libsdl.org> [Wed, 30 Aug 2017 00:40:06 -0700] rev 11427
Fix QNX build - prioritize system EGL headers over the Khronos ones

Tue, 29 Aug 2017 23:14:39 -0700Added some missing render capability flags
Sam Lantinga <slouken@libsdl.org> [Tue, 29 Aug 2017 23:14:39 -0700] rev 11426
Added some missing render capability flags

Tue, 29 Aug 2017 23:12:26 -0700Fixed line breaks in verbose test logging output
Sam Lantinga <slouken@libsdl.org> [Tue, 29 Aug 2017 23:12:26 -0700] rev 11425
Fixed line breaks in verbose test logging output

Tue, 29 Aug 2017 22:52:17 -0700Added some debug messaging for previously unhandled events
Sam Lantinga <slouken@libsdl.org> [Tue, 29 Aug 2017 22:52:17 -0700] rev 11424
Added some debug messaging for previously unhandled events

Tue, 29 Aug 2017 22:24:59 -0700The dummy video driver check is now covered by explicitly checking for cocoa above.
Sam Lantinga <slouken@libsdl.org> [Tue, 29 Aug 2017 22:24:59 -0700] rev 11423
The dummy video driver check is now covered by explicitly checking for cocoa above.

Tue, 29 Aug 2017 22:04:43 -0700Fixed bug 3616 - SDL_GL_CreateContext fails with SDL_GL_CONTEXT_DEBUG_FLAG and ANGLE/GLES 2.0
Sam Lantinga <slouken@libsdl.org> [Tue, 29 Aug 2017 22:04:43 -0700] rev 11422
Fixed bug 3616 - SDL_GL_CreateContext fails with SDL_GL_CONTEXT_DEBUG_FLAG and ANGLE/GLES 2.0

Colin Barrett

Using the pre-built x86 devel libs from here:
https://www.libsdl.org/release/SDL2-devel-2.0.5-VC.zip

If I have:

SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_ES);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 2);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 0);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, SDL_GL_CONTEXT_DEBUG_FLAG);

and I'm using ANGLE/(a GL driver that doesn't provide an ES2 context) such that SDL_EGL_CreateContext is called by SDL_GL_CreateContext, I get the error "Could not create EGL context (context attributes are not supported)" and no context is created.

Looking at the code in SDL_EGL_CreateContext - if gl_config.flags is non-zero, it looks like the code in the section guarded with "#ifdef EGL_KHR_create_context" should be executed - but it apparently isn't.

Is it possible this section hasn't been compiled into the pre-built libraries? If I build SDL2.dll myself using the Visual C++ solution (VS2015 Community Update 3) then the call succeeds as I expect

Tue, 29 Aug 2017 21:42:22 -0700Fixed bug 3719 - Cocoa - Incorrect window size when leaving fullscreen
Sam Lantinga <slouken@libsdl.org> [Tue, 29 Aug 2017 21:42:22 -0700] rev 11421
Fixed bug 3719 - Cocoa - Incorrect window size when leaving fullscreen

bastien.bouclet

When exiting a "fullscreen space" on OS X, windows don't go to their defined "windowed mode size", but go back to their previous size.

Steps to reproduce:
1. Create a windowed mode SDL window
2. Toggle it to fullscreen with the SDL_WINDOW_FULLSCREEN_DESKTOP flag
3. While in fullscreen, change the windowed mode size using SDL_SetWindowSize
4. Toggle the window back to windowed mode

Expected result:
- The window has the size specified during step 3.

Actual result:
- The window has the size specified when creating the window in step 1.

Attached is a minimal reproduction test case.
The attached test case works as expected on X11 and Windows.

Tue, 29 Aug 2017 18:25:55 -0400test: forgot to change a variable.
Ryan C. Gordon <icculus@icculus.org> [Tue, 29 Aug 2017 18:25:55 -0400] rev 11420
test: forgot to change a variable.

Fixes Bugzilla #3787.

Tue, 29 Aug 2017 18:16:38 -0400test: Fix for negative int that was now a size_t (thanks, Ozkan!).
Ryan C. Gordon <icculus@icculus.org> [Tue, 29 Aug 2017 18:16:38 -0400] rev 11419
test: Fix for negative int that was now a size_t (thanks, Ozkan!).

Fixes Bugzilla #3787.