Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba3ed90b authored by Jesse Hall's avatar Jesse Hall Committed by Android Git Automerger
Browse files

am 082fc1ca: am ae961022: Merge "EGL: Fix error for eglCreateWindowSurface"

* commit '082fc1ca':
  EGL: Fix error for eglCreateWindowSurface
parents 0e615634 082fc1ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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