Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed error return value in SDL_EGL_CreateSurface(), thanks to Mike K…
…asprzak
  • Loading branch information
slouken committed Dec 3, 2013
1 parent d0d07de commit 013d998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/SDL_egl.c
Expand Up @@ -452,7 +452,7 @@ EGLSurface *
SDL_EGL_CreateSurface(_THIS, NativeWindowType nw)
{
if (SDL_EGL_ChooseConfig(_this) != 0) {
return -1;
return EGL_NO_SURFACE;
}

return _this->egl_data->eglCreateWindowSurface(
Expand Down

0 comments on commit 013d998

Please sign in to comment.