Skip to content

Commit

Permalink
WinRT: Fixed format string for error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Apr 13, 2015
1 parent 3a02705 commit 0fbd337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/winrt/SDL_winrtvideo.cpp
Expand Up @@ -325,7 +325,7 @@ WINRT_CreateWindow(_THIS, SDL_Window * window)
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? */
Expand Down

0 comments on commit 0fbd337

Please sign in to comment.