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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qcam/viewfinder_gl.h b/src/qcam/viewfinder_gl.h
index 72a60ecb..2b2b1e86 100644
--- a/src/qcam/viewfinder_gl.h
+++ b/src/qcam/viewfinder_gl.h
@@ -38,7 +38,8 @@ public:
const QList<libcamera::PixelFormat> &nativeFormats() const override;
- int setFormat(const libcamera::PixelFormat &format, const QSize &size) override;
+ int setFormat(const libcamera::PixelFormat &format, const QSize &size,
+ unsigned int stride) override;
void render(libcamera::FrameBuffer *buffer, Image *image) override;
void stop() override;