diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-04-15 12:10:50 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-04-16 12:52:12 (GMT) |
commit | 5480e3b68da98253ae6ec58bd0db0075225a4e22 (patch) | |
tree | a23c222a11182edb210c9fc41a77431af1087540 /src/opengl/qgl_egl.cpp | |
parent | dda010b51b8e3ec6955b64290ad47c0f43dcda73 (diff) | |
download | Qt-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.cpp | 2 |
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() |