diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2016-08-23 08:02:16 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-06-27 23:51:15 +0000 |
commit | 24961cb18c50efab4b62b91968f660d8b6736ec4 (patch) | |
tree | f05be283c1f3b81b3d8ae11a3dc720904ac6b0cf /examples/opengl/hellowindow/hellowindow.h | |
parent | 6ca65dd97d252d1618dd9870bf119b2d482e7eaf (diff) |
Don’t flicker on startup: render on expose
All QWindow implementations must produce a frame before
returning from the expose event.
Change-Id: I5640809c47e948101879c1623c12230fa0a63c44
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'examples/opengl/hellowindow/hellowindow.h')
-rw-r--r-- | examples/opengl/hellowindow/hellowindow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/hellowindow/hellowindow.h b/examples/opengl/hellowindow/hellowindow.h index 1372152e93..e92e45a125 100644 --- a/examples/opengl/hellowindow/hellowindow.h +++ b/examples/opengl/hellowindow/hellowindow.h @@ -70,7 +70,7 @@ public: void setAnimating(HelloWindow *window, bool animating); -private slots: +public slots: void render(); private: |