Skip to content
Permalink
Browse files

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 013d99823d126c998f17f360c113e774823ed67a

File 1 of 1 in 013d998

@@ -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(

0 comments on commit 013d998

Please sign in to comment.