Check the EGL error before calling eglTerminate().
authorSamuel Rødal <samuel.rodal@digia.com>
Thu, 25 Oct 2012 12:36:45 +0000 (14:36 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 26 Oct 2012 20:39:30 +0000 (22:39 +0200)
commitfe4068a12b135add4e1203fc1214d238865b49a1
tree3801d5ae5ba84a429e55a7da9cc807c80a96354d
parent9dacccd0391219c97c01e89f0547ee002abb1e55
Check the EGL error before calling eglTerminate().

Otherwise we always get EGL_SUCCESS, which is not very informative.

Change-Id: I25311c14108ae385913aa9dc159a1f5fad142342
Reviewed-by: Rainer Keller <rainer.keller@digia.com>
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
src/plugins/platforms/eglfs/qeglfswindow.cpp