Mon, 04 Sep 2017 23:10:12 -0700Fixed typos in 2.0.6 patch notes
Sam Lantinga [Mon, 04 Sep 2017 23:10:12 -0700] rev 11453
Fixed typos in 2.0.6 patch notes

Mon, 04 Sep 2017 22:51:28 -0700Added SDL_vulkan.h to the Mac OS X framework headers
Sam Lantinga [Mon, 04 Sep 2017 22:51:28 -0700] rev 11452
Added SDL_vulkan.h to the Mac OS X framework headers

Mon, 04 Sep 2017 22:14:57 -0700Fixed compiler warning with mingw-w64
Sam Lantinga [Mon, 04 Sep 2017 22:14:57 -0700] rev 11451
Fixed compiler warning with mingw-w64

Mon, 04 Sep 2017 21:16:28 -0700Added some more big 2.0.6 changes
Sam Lantinga [Mon, 04 Sep 2017 21:16:28 -0700] rev 11450
Added some more big 2.0.6 changes

Mon, 04 Sep 2017 20:48:01 -0700Updated WhatsNew.txt for 2.0.6
Sam Lantinga [Mon, 04 Sep 2017 20:48:01 -0700] rev 11449
Updated WhatsNew.txt for 2.0.6

Mon, 04 Sep 2017 11:46:14 -0700Fixed bug 3790 - Memory leak with surfaces blitting on each other
Sam Lantinga [Mon, 04 Sep 2017 11:46:14 -0700] rev 11448
Fixed bug 3790 - Memory leak with surfaces blitting on each other

bastien.bouclet

When creating two surfaces and blitting them onto the other, SDL's internal reference counting fails, and one of the surfaces is not freed when calling SDL_FreeSurface.

Example code :

SDL_Surface *s1 = SDL_CreateRGBSurfaceWithFormat(0, 640, 480, 32, SDL_PIXELFORMAT_ARGB8888);
SDL_Surface *s2 = SDL_CreateRGBSurfaceWithFormat(0, 640, 480, 32, SDL_PIXELFORMAT_ARGB8888);

SDL_BlitSurface(s1, NULL, s2, NULL);
SDL_BlitSurface(s2, NULL, s1, NULL);

SDL_FreeSurface(s2);
SDL_FreeSurface(s1);

With this example, s1 is not freed after calling SDL_FreeSurface, its refcount attribute is still positive.

Sun, 03 Sep 2017 17:33:49 -0400macOS: bug-fix for #3793, "fullscreen toggle does not maintain SDL_Renderer's logical size"
David Ludwig [Sun, 03 Sep 2017 17:33:49 -0400] rev 11447
macOS: bug-fix for #3793, "fullscreen toggle does not maintain SDL_Renderer's logical size"

This also seems to fix the follow-up issue in bug #3719, whereby the initial fix caused the SDL window to move, after transitioning from fullscreen to windowed-mode

Sun, 03 Sep 2017 16:36:22 -0400WinRT: listed VS 2017 optional-component requirements
David Ludwig [Sun, 03 Sep 2017 16:36:22 -0400] rev 11446
WinRT: listed VS 2017 optional-component requirements

Sun, 03 Sep 2017 13:20:33 -0400vulkan: Changed SDL_WINDOW_VULKAN value to match Tizen's fork.
Ryan C. Gordon [Sun, 03 Sep 2017 13:20:33 -0400] rev 11445
vulkan: Changed SDL_WINDOW_VULKAN value to match Tizen's fork.

Sat, 02 Sep 2017 19:35:32 -0400video: Let video targets optionally decide their default OpenGL configs.
Ryan C. Gordon [Sat, 02 Sep 2017 19:35:32 -0400] rev 11444
video: Let video targets optionally decide their default OpenGL configs.

This is necessary because the Raspberry Pi is a strange beast, that believes
it has OpenGL support (through glX?) but generally has GLES2 support.

So when using the raspberry video target, we need to force this to default
to a GLES2 context, or by default SDL_CreateWindow() will fail, deep down
when it tries to load the proper GL library.

Fixes testsprite2 (and basically everything else that wasn't testgles2) when
run on a Raspberry Pi without a X server.

Please note that other targets might also need this filled in, the Raspberry
Pi is just the most prominent and readily-available System-On-A-Chip style
thing on my desk. :)