summaryrefslogtreecommitdiffstats
path: root/src/gui/egl/qegl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/egl/qegl.cpp')
-rw-r--r--src/gui/egl/qegl.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/egl/qegl.cpp b/src/gui/egl/qegl.cpp
index 0ed95ea..ee19216 100644
--- a/src/gui/egl/qegl.cpp
+++ b/src/gui/egl/qegl.cpp
@@ -333,6 +333,16 @@ bool QEglContext::configAttrib(int name, EGLint *value) const
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