diff -r 79de32ba3296 -r 89e065397ea6 src/gui/egl/qegl.cpp --- a/src/gui/egl/qegl.cpp Fri May 14 16:40:13 2010 +0300 +++ b/src/gui/egl/qegl.cpp Thu May 27 13:40:48 2010 +0300 @@ -333,6 +333,16 @@ return eglGetConfigAttrib(display(), cfg, name, value); } +void QEglContext::clearError() +{ + eglGetError(); +} + +EGLint QEglContext::error() +{ + return eglGetError(); +} + // Retrieve all of the properties on "cfg". If zero, return // the context's configuration. QEglProperties QEglContext::configProperties(EGLConfig cfg) const