summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopengles2ext.h
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2013-03-08 14:00:27 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-12 09:16:42 +0100
commit381566445e89c4d945ca40d1fbc12c728e0186b5 (patch)
treec661cb088525f725dfbdcbfc7962b3f264d82169 /src/gui/opengl/qopengles2ext.h
parent6b821a3dc80b7203a8c9def42294924e5d718068 (diff)
Reset the X error handler after initializing GTK
It turns out that we were setting the error handler to a dummy one in qxcbconnection.cpp, but GTK then overrides it to an handler that calls exit(1) on errors. This causes problems as we are relying on the glXCreateContextAttribsARB call to fail when creating an OpenGL context, so we need to reset the handler after GTK initialization. Change-Id: I9bc3eb2480abfd3740884cb0000b9180d2cf37a5 Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/gui/opengl/qopengles2ext.h')
0 files changed, 0 insertions, 0 deletions