diff options
author | Fredrik Orderud <forderud@gmail.com> | 2015-09-06 21:50:59 +0200 |
---|---|---|
committer | Fredrik Orderud <forderud@gmail.com> | 2015-09-11 06:20:15 +0000 |
commit | 0dd2554101e0ef5d703c89eb671066e56f56c1f4 (patch) | |
tree | 335dd9e024cdb04d5d5d3c3659cc14ef0fe9dda3 /examples/activeqt/menus | |
parent | 06713dd3cbcbcd83ae8029e44fddf789f661a76e (diff) | |
download | qtactiveqt-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')
0 files changed, 0 insertions, 0 deletions