am ae961022
: Merge "EGL: Fix error for eglCreateWindowSurface"
* commit 'ae9610220b5f509687b840532f95f3638ee0146b': EGL: Fix error for eglCreateWindowSurface
This commit is contained in:
commit
082fc1cae6
@ -373,7 +373,7 @@ EGLSurface eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config,
|
||||
if (native_window_api_connect(window, NATIVE_WINDOW_API_EGL) != OK) {
|
||||
ALOGE("EGLNativeWindowType %p already connected to another API",
|
||||
window);
|
||||
return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE);
|
||||
return setError(EGL_BAD_ALLOC, EGL_NO_SURFACE);
|
||||
}
|
||||
|
||||
// set the native window's buffers format to match this config
|
||||
|
Loading…
Reference in New Issue
Block a user