Sun, 27 Aug 2017 21:05:18 -0700Fixed crash at shutdown if the window couldn't be created
Sam Lantinga [Sun, 27 Aug 2017 21:05:18 -0700] rev 11370
Fixed crash at shutdown if the window couldn't be created

Sun, 27 Aug 2017 20:41:48 -0700We use the SDL Vulkan headers
Sam Lantinga [Sun, 27 Aug 2017 20:41:48 -0700] rev 11369
We use the SDL Vulkan headers

Sun, 27 Aug 2017 20:41:29 -0700Added the new Vulkan API functions to exported functions
Sam Lantinga [Sun, 27 Aug 2017 20:41:29 -0700] rev 11368
Added the new Vulkan API functions to exported functions

Sun, 27 Aug 2017 23:25:12 -0400vulkan: Include a copy of vulkan.h and vk_platform.h.
Ryan C. Gordon [Sun, 27 Aug 2017 23:25:12 -0400] rev 11367
vulkan: Include a copy of vulkan.h and vk_platform.h.

Now we can provide Vulkan support in the build even if the build box doesn't
have a Vulkan SDK, since we dynamically link to the library anyhow.

Sun, 27 Aug 2017 19:32:08 -0700Use SDL_Vulkan_GetDrawableSize() instead of SDL_GL_GetDrawableSize()
Sam Lantinga [Sun, 27 Aug 2017 19:32:08 -0700] rev 11366
Use SDL_Vulkan_GetDrawableSize() instead of SDL_GL_GetDrawableSize()

Sun, 27 Aug 2017 22:15:57 -0400vulkan: Initial Vulkan support!
Ryan C. Gordon [Sun, 27 Aug 2017 22:15:57 -0400] rev 11365
vulkan: Initial Vulkan support!

This work was done by Jacob Lifshay and Mark Callow; I'm just merging it
into revision control.

Sun, 27 Aug 2017 19:10:30 -0700Fixed bug 3710 - SDL_OpenAudio(desired, obtained) doesn't update desired's size when obtained is NULL
Sam Lantinga [Sun, 27 Aug 2017 19:10:30 -0700] rev 11364
Fixed bug 3710 - SDL_OpenAudio(desired, obtained) doesn't update desired's size when obtained is NULL

David Ludwig

I've created a new set of patches. I am happy to create more, if it would help.

One version only copies 'size'.

A second version copies both 'size' and 'silence'. When looking over the documentation for SDL_OpenAudio in SDL_audio.h, it mentioned that both 'size' and 'silence' were things that SDL_OpenAudio would calculate.

Regarding *both* patches, I did notice that SDL 1.2 appears to have always modified desired's size and silence fields. The SDL wiki, at https://wiki.libsdl.org/SDL_OpenAudio#Remarks , does note:

Sun, 27 Aug 2017 19:05:57 -0700Fixed bug 3724 - Allow Angle Static Link
Sam Lantinga [Sun, 27 Aug 2017 19:05:57 -0700] rev 11363
Fixed bug 3724 - Allow Angle Static Link

Carlos

We would like to add a switch (define) that allows us to compile Angle statically with SDL. That is, getting rid of the OpenGL DLL. Usually you need OpenGL to be loaded dynamically as DLL because implementation is provided by the system but no need with Angle.

Only 2 files need modification and it shouldn't affect current behaivor:
include/SDL_egl.h and src/video/SDL_egl.c, as in here

https://github.com/native-toolkit/sdl/pull/10/files

The flag name could be SDL_VIDEO_STATIC_ANGLE (instead of NATIVE_TOOLKIT_STATIC_ANGLE) as discussed here https://github.com/native-toolkit/sdl/pull/10

We have tested this with both Windows and UWP, using NME engine (https://github.com/haxenme/nme).

Releated issue: https://bugzilla.libsdl.org/show_bug.cgi?id=1820

Sun, 27 Aug 2017 19:03:15 -0700Fixed bug 3770 - XStoreColor returns zero on failure SDL-1.2
Sam Lantinga [Sun, 27 Aug 2017 19:03:15 -0700] rev 11362
Fixed bug 3770 - XStoreColor returns zero on failure

Thorsten Otto

The fix done in http://hg.libsdl.org/SDL/rev/3665bc284271 is wrong. The current code returns -1 if the calls *succeeds*, and does not call XSync(). The outcome of this is that the whole screen turns black when trying to open a 640x480x8 window on a true-color display (short example attached). I suggest to add the attached patch to fix this (yes i know that the 1.2 branch is obsolete, but the faulty patch causes really bad behaviour for a very common scenario).

Sun, 27 Aug 2017 19:00:03 -0700Fixed bug 3740 - atexit() in test/testime.c
Sam Lantinga [Sun, 27 Aug 2017 19:00:03 -0700] rev 11361
Fixed bug 3740 - atexit() in test/testime.c