90
82
glBindTexture(GL_TEXTURE_2D, m_textureId);
91
83
updateBindOptions(true/* force */);
100
87
// Fix for lp:1583088 - For non-GL clients, Mir uploads the client pixel buffer to a GL texture.
101
88
// But as it does so, it changes some GL state and neglects to restore it, which breaks Qt's rendering.