Skip to content

Commit

Permalink
WinRT: minor error cleanup regarding OpenGL init
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLudwig committed Dec 26, 2013
1 parent 0dfde14 commit 910c1cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/winrt/SDL_winrtvideo.cpp
Expand Up @@ -288,8 +288,8 @@ WINRT_CreateWindow(_THIS, SDL_Window * window)
_this->egl_data->egl_config,
nativeWindow, NULL);
if (data->egl_surface == NULL) {
// TODO, WinRT: see if SDL_EGL_CreateSurface, or its callee(s), sets an error message. If so, attach it to the SDL error.
return SDL_SetError("SDL_EGL_CreateSurface failed");
// TODO, WinRT: see if eglCreateWindowSurface, or its callee(s), sets an error message. If so, attach it to the SDL error.
return SDL_SetError("eglCreateWindowSurface failed");
}
}
#endif
Expand Down

0 comments on commit 910c1cd

Please sign in to comment.