Disable textures after painting is finished.
This commit is contained in:
Fekete Imre 2018-04-13 16:23:41 +02:00
parent b421cc2790
commit ce704a1baa

View File

@ -152,7 +152,9 @@ class GLScatterPlotItem(GLGraphicsItem):
glDisableClientState(GL_VERTEX_ARRAY)
glDisableClientState(GL_COLOR_ARRAY)
#posVBO.unbind()
##fixes #145
glDisable( GL_TEXTURE_2D )
#for i in range(len(self.pos)):
#pos = self.pos[i]