summaryrefslogtreecommitdiff
path: root/examples/activeqt/menus/main.cpp
diff options
context:
space:
mode:
authorFredrik Orderud <forderud@gmail.com>2015-09-06 21:50:59 +0200
committerFredrik Orderud <forderud@gmail.com>2015-09-11 06:20:15 +0000
commit0dd2554101e0ef5d703c89eb671066e56f56c1f4 (patch)
tree335dd9e024cdb04d5d5d3c3659cc14ef0fe9dda3 /examples/activeqt/menus/main.cpp
parent06713dd3cbcbcd83ae8029e44fddf789f661a76e (diff)
downloadqtactiveqt-0dd2554101e0ef5d703c89eb671066e56f56c1f4.tar.gz
Fix broken openglax by introducing QOpenGLFunctions_1_1.
The openglax example relies on deprecated OpenGL 1.1 functions that are no longer present in OpenGL ES 2. This leads to a missing symbols linker error. The problem is fixed by inheriting from QOpenGLFunctions_1_1 that provides implementations of the missing OpenGL functions. The GLBox destructor is also hardened with selective delete to avoid crashing if initializeGL is not called (occurs when dumping IDL). Change-Id: If35539749ab76293f98a5d75944f0f393f4d2a3c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'examples/activeqt/menus/main.cpp')
0 files changed, 0 insertions, 0 deletions