summaryrefslogtreecommitdiff
path: root/src/qcam/viewfinder_gl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/viewfinder_gl.h')
-rw-r--r--src/qcam/viewfinder_gl.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/qcam/viewfinder_gl.h b/src/qcam/viewfinder_gl.h
index 69502b7a..825af1c1 100644
--- a/src/qcam/viewfinder_gl.h
+++ b/src/qcam/viewfinder_gl.h
@@ -53,7 +53,7 @@ protected:
private:
bool selectFormat(const libcamera::PixelFormat &format);
- void configureTexture(unsigned int id);
+ void configureTexture(QOpenGLTexture &texture);
bool createFragmentShader();
bool createVertexShader();
void removeShader();
@@ -78,9 +78,6 @@ private:
QString vertexShaderSrc_;
/* YUV texture planars and parameters */
- GLuint id_u_;
- GLuint id_v_;
- GLuint id_y_;
GLuint textureUniformU_;
GLuint textureUniformV_;
GLuint textureUniformY_;