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 ®ion, const QPo glDrawArrays(GL_TRIANGLE_FAN, 0, 4); + m_program->release(); glBindTexture(GL_TEXTURE_2D, 0); - glDisableVertexAttribArray(m_vertexCoordEntry); glDisableVertexAttribArray(m_textureCoordEntry); #endif