From 192d4fa0af5f40f76979f195c4356b26eaed1696 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Tue, 25 Jun 2019 16:37:58 +0200 Subject: 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 --- examples/quick/scenegraph/openglunderqml/squircle.h | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/quick/scenegraph/openglunderqml/squircle.h') 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: -- cgit v1.2.3