diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-04-15 14:10:50 +0200 |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-04-16 14:52:12 +0200 |
commit | 5480e3b68da98253ae6ec58bd0db0075225a4e22 (patch) | |
tree | a23c222a11182edb210c9fc41a77431af1087540 /src/gui/egl/qeglproperties.cpp | |
parent | dda010b51b8e3ec6955b64290ad47c0f43dcda73 (diff) | |
download | qt4-tools-5480e3b68da98253ae6ec58bd0db0075225a4e22.tar.gz |
Cleanup & remove unused function overloads from QEgl* APIs
This should make stubbing out these APIs slightly easier.
Reviewed-By: TrustMe
Diffstat (limited to 'src/gui/egl/qeglproperties.cpp')
-rw-r--r-- | src/gui/egl/qeglproperties.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gui/egl/qeglproperties.cpp b/src/gui/egl/qeglproperties.cpp index b34d2c3551..554354784a 100644 --- a/src/gui/egl/qeglproperties.cpp +++ b/src/gui/egl/qeglproperties.cpp @@ -292,20 +292,6 @@ static void addTag(QString& str, const QString& tag) str += tag; } -void QEglProperties::dumpAllConfigs() -{ - EGLint count = 0; - eglGetConfigs(QEgl::display(), 0, 0, &count); - if (count < 1) - return; - - EGLConfig *configs = new EGLConfig [count]; - eglGetConfigs(QEgl::display(), configs, count, &count); - for (EGLint index = 0; index < count; ++index) - qWarning() << QEglProperties(configs[index]).toString(); - delete [] configs; -} - // Convert a property list to a string suitable for debug output. QString QEglProperties::toString() const { |