WinRT: Fixed format string for error message.
--- a/src/video/winrt/SDL_winrtvideo.cpp Sun Apr 12 21:02:21 2015 -0400
+++ b/src/video/winrt/SDL_winrtvideo.cpp Mon Apr 13 20:52:18 2015 +0200
@@ -325,7 +325,7 @@
if (SDL_EGL_ChooseConfig(_this) != 0) {
char buf[512];
SDL_snprintf(buf, sizeof(buf), "SDL_EGL_ChooseConfig failed: %s", SDL_GetError());
- return SDL_SetError(buf);
+ return SDL_SetError("%s", buf);
}
if (video_data->winrtEglWindow) { /* ... is the 'old' version of ANGLE/WinRT being used? */