qt5base-lts/examples/widgets/painting/shared
Laszlo Agocs d4548751b7 Fix OpenGL mode in examples like composition
To avoid an incorrect offset for the native window, call create()
after createWindowContainer().

The mysterious -1 for the width and height are removed as well because
otherwise the GL window's size is clearly off by one.

Fixes: QTBUG-82195
Pick-to: 5.15
Change-Id: I1a9cec62746fc110bfc4cd2e4fa111f621124638
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2020-06-09 11:29:01 +00:00
..
images Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
arthurstyle.cpp Remove usages of deprecated APIs of qtbase/gui 2019-07-13 10:43:15 +02:00
arthurstyle.h Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
arthurwidgets.cpp Fix OpenGL mode in examples like composition 2020-06-09 11:29:01 +00:00
arthurwidgets.h Move arthurwidget based examples to new QOpenGL classes 2018-10-17 09:16:01 +00:00
CMakeLists.txt Regenerate examples 2020-02-04 18:50:39 +00:00
fbopaintdevice.cpp Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
fbopaintdevice.h Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
hoverpoints.cpp Replace calls to deprecated QEvent accessor functions 2020-06-08 19:11:51 +02:00
hoverpoints.h Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
shared.pri Move QOpenGLWindow from QtGui to QtOpenGL 2020-01-15 15:38:59 +01:00
shared.qrc Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00