summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_egl.cpp
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-04-15 12:10:50 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2010-04-16 12:52:12 (GMT)
commit5480e3b68da98253ae6ec58bd0db0075225a4e22 (patch)
treea23c222a11182edb210c9fc41a77431af1087540 /src/opengl/qgl_egl.cpp
parentdda010b51b8e3ec6955b64290ad47c0f43dcda73 (diff)
downloadQt-5480e3b68da98253ae6ec58bd0db0075225a4e22.zip
Qt-5480e3b68da98253ae6ec58bd0db0075225a4e22.tar.gz
Qt-5480e3b68da98253ae6ec58bd0db0075225a4e22.tar.bz2
Cleanup & remove unused function overloads from QEgl* APIs
This should make stubbing out these APIs slightly easier. Reviewed-By: TrustMe
Diffstat (limited to 'src/opengl/qgl_egl.cpp')
-rw-r--r--src/opengl/qgl_egl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qgl_egl.cpp b/src/opengl/qgl_egl.cpp
index 822c9f6..0fbbbf9 100644
--- a/src/opengl/qgl_egl.cpp
+++ b/src/opengl/qgl_egl.cpp
@@ -147,7 +147,7 @@ void qt_glformat_from_eglconfig(QGLFormat& format, const EGLConfig config)
// Clear the EGL error state because some of the above may
// have errored out because the attribute is not applicable
// to the surface type. Such errors don't matter.
- QEgl::clearError();
+ eglGetError();
}
bool QGLFormat::hasOpenGL()