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

Commit ae961022 authored by Jesse Hall's avatar Jesse Hall Committed by Gerrit Code Review
Browse files

Merge "EGL: Fix error for eglCreateWindowSurface"

parents 67481607 77a9b4a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -295,7 +295,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