diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2022-12-01 15:40:58 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-12-02 19:53:12 +0000 |
commit | d2f3e3949f10aaba2085fc4b969313c738811744 (patch) | |
tree | a90026ede70e6bf96443bad440b0ad3cffa17a94 /examples/widgets/painting/composition/composition.h | |
parent | 6453d17a0ab77d18c2f69a11bf6415840c3b24ca (diff) |
Avoid continuous texture alloc in Composition Modes example
There seems to be some confusion from back when the example were
mass-ported to the QOpenGL stuff in Qt 5 times.
Fixes: QTBUG-109119
Change-Id: Ic4bcd010df3fcf82e16385ce241b379f0c351788
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
(cherry picked from commit 919664b29a874e8cdc3d74427654cbaa2b61be29)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/widgets/painting/composition/composition.h')
-rw-r--r-- | examples/widgets/painting/composition/composition.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/widgets/painting/composition/composition.h b/examples/widgets/painting/composition/composition.h index b2fa2c5bb1..0745eb41b9 100644 --- a/examples/widgets/painting/composition/composition.h +++ b/examples/widgets/painting/composition/composition.h @@ -148,7 +148,6 @@ private: std::unique_ptr<QFboPaintDevice> m_fbo; int m_pbuffer_size; // width==height==size of pbuffer uint m_base_tex; - uint m_compositing_tex; QSize m_previous_size; QOpenGLTextureBlitter m_blitter; #endif |