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

Commit 9ec4757b authored by Teng-Hui Zhu's avatar Teng-Hui Zhu
Browse files

Compiling issue fix since SurfTex header changed.

Change-Id: I7790626d287d4b44cd9d9fc9f902237b6d059678
parent 7a5b4f30
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
#ifndef ANDROID_GUI_SURFACETEXTURE_H
#define ANDROID_GUI_SURFACETEXTURE_H

#include <GLES2/gl2ext.h>
#include <ui/GraphicBuffer.h>

namespace android {
@@ -24,7 +25,8 @@ namespace android {
struct SurfaceTexture {
    struct FrameAvailableListener : public virtual RefBase {};

    SurfaceTexture(GLuint, bool allowSynchronousMode = true) {}
    SurfaceTexture(GLuint, bool allowSynchronousMode = true,
                   GLenum texTarget = GL_TEXTURE_EXTERNAL_OES) {}
    void updateTexImage() {}
    void decStrong(android::sp<android::SurfaceTexture>* const) {}
    void incStrong(android::sp<android::SurfaceTexture>* const) {}