def set_state(self):
        gl.glPushAttrib(gl.GL_ENABLE_BIT | gl.GL_CURRENT_BIT)
        gl.glEnable(gl.GL_BLEND)
        gl.glBlendFunc(gl.GL_SRC_ALPHA, gl.GL_ONE_MINUS_SRC_ALPHA)
Ensure that blending is set.
dataset/ETHPy150Open jorgecarleitao/pyglet-gui/pyglet_gui/manager.py/ViewerManagerGroup.set_state