diff options
| author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-08-16 09:28:01 +0200 |
|---|---|---|
| committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-08-16 13:53:13 +0200 |
| commit | 1ff94e314835682b178eac98c3c1be983e71c4ca (patch) | |
| tree | 93e9547b5cc44484ec1411994013e649f8f683a1 /src/opengl/qgl.cpp | |
| parent | 30774e9552591746a2640ba39c7afdc052952597 (diff) | |
Get rid of unused convenience class in QtOpenGL.
QGLContextResource is no longer used, QGLContextGroupResource should be
preferable in all situations.
Change-Id: I7c7b90686959ced9fa34e278ef5747a7c49a5b03
Reviewed-on: http://codereview.qt.nokia.com/3005
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/opengl/qgl.cpp')
| -rw-r--r-- | src/opengl/qgl.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp index d045bf55d1e..4f9f5a9414e 100644 --- a/src/opengl/qgl.cpp +++ b/src/opengl/qgl.cpp @@ -2105,10 +2105,6 @@ QGLContext::~QGLContext() void QGLContextPrivate::cleanup() { - QHash<QGLContextResourceBase *, void *>::ConstIterator it; - for (it = m_resources.begin(); it != m_resources.end(); ++it) - it.key()->freeResource(it.value()); - m_resources.clear(); } #define ctx q_ptr |
