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

Commit 0fa257fe authored by Jesse Hall's avatar Jesse Hall
Browse files

EGL10.eglCreateWindowSurface should set producerControlledByApp

Bug: 10521699
Change-Id: Ief3f01edf7dabc7996b7af1a756dfd00f0987f1a
parent 81e0b1bd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -353,7 +353,7 @@ not_valid_surface:
    }

    sp<IGraphicBufferProducer> producer(SurfaceTexture_getProducer(_env, native_window));
    window = new Surface(producer);
    window = new Surface(producer, true);
    if (window == NULL)
        goto not_valid_surface;