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

Commit c6ca4317 authored by Teng-Hui Zhu's avatar Teng-Hui Zhu Committed by Jean-Baptiste Queru
Browse files

Fix a compiling error when trying to use setBufferCount

Change-Id: I1aefaf7ec111340a584e0beeeea60b845e16bb1f
parent f87743e7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ struct SurfaceTexture {
    void setFrameAvailableListener(const sp<FrameAvailableListener>&) {}
    void setSynchronousMode(bool) {}
    GLenum getCurrentTextureTarget() const { return 0; }
    void setBufferCount(int bufferCount) {}
};

static sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz)