summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>2012-05-26 22:36:18 -0700
committerQt by Nokia <qt-info@nokia.com>2012-05-29 23:37:40 +0200
commitd3240199135a37dcc7d26d8516cfd5a6c16d9417 (patch)
treeca3254fb90786b32b2a2c9db1e05cd0181c1d736 /src/plugins/platforms
parent42f4fa60f321301545441e275da62d1f5891eaee (diff)
eglfs: release shader program after use
Change-Id: Ibe89de88c6c01d182a240def92eb78c0cc896463 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r--src/plugins/platforms/eglfs/qeglfsbackingstore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp b/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp
index c3f3d4f34e..06a1c252e2 100644
--- a/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp
+++ b/src/plugins/platforms/eglfs/qeglfsbackingstore.cpp
@@ -180,8 +180,8 @@ void QEglFSBackingStore::flush(QWindow *window, const QRegion &region, const QPo
glDrawArrays(GL_TRIANGLE_FAN, 0, 4);
+ m_program->release();
glBindTexture(GL_TEXTURE_2D, 0);
-
glDisableVertexAttribArray(m_vertexCoordEntry);
glDisableVertexAttribArray(m_textureCoordEntry);
#endif