author | Sam Lantinga |
Mon, 02 Dec 2013 23:54:35 -0800 | |
changeset 8045 | 3c2694255705 |
parent 8044 | e84427ef8244 |
child 8046 | e7c89b29932a |
1.1 --- a/src/video/SDL_egl.c Mon Dec 02 19:51:48 2013 -0300 1.2 +++ b/src/video/SDL_egl.c Mon Dec 02 23:54:35 2013 -0800 1.3 @@ -452,7 +452,7 @@ 1.4 SDL_EGL_CreateSurface(_THIS, NativeWindowType nw) 1.5 { 1.6 if (SDL_EGL_ChooseConfig(_this) != 0) { 1.7 - return -1; 1.8 + return EGL_NO_SURFACE; 1.9 } 1.10 1.11 return _this->egl_data->eglCreateWindowSurface(