diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-06-25 16:37:58 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-07-04 19:49:08 +0200 |
commit | 192d4fa0af5f40f76979f195c4356b26eaed1696 (patch) | |
tree | e4df789d370b45b5a84f0b971b21ce3c2640fa2c /examples/quick/scenegraph/openglunderqml/squircle.h | |
parent | fc40f0738e55725d4449059578510802dbf596ec (diff) |
Make openglunderqml functional with and without the rhi
It has to be written following the new split approach (beforeRendering
for resource setup, beforeRenderPassRecording to issue the actual
underlay draw calls), but it will then work both with and
without QSG_RHI=1.
Change-Id: I9b7b35434aa0caec543cae268064b2684256382d
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/quick/scenegraph/openglunderqml/squircle.h')
-rw-r--r-- | examples/quick/scenegraph/openglunderqml/squircle.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/quick/scenegraph/openglunderqml/squircle.h b/examples/quick/scenegraph/openglunderqml/squircle.h index 962ba21101..1b9995bc1e 100644 --- a/examples/quick/scenegraph/openglunderqml/squircle.h +++ b/examples/quick/scenegraph/openglunderqml/squircle.h @@ -70,6 +70,7 @@ public: void setWindow(QQuickWindow *window) { m_window = window; } public slots: + void init(); void paint(); private: |