Commit b5955faa authored by Luke Campagnola's avatar Luke Campagnola
Browse files

Merge remote-tracking branch 'jdreaver/develop' into develop

parents 021addcf 8f273f53
......@@ -66,7 +66,8 @@ class GLScatterPlotItem(GLGraphicsItem):
#print pData.shape, pData.min(), pData.max()
pData = pData.astype(np.ubyte)
self.pointTexture = glGenTextures(1)
if getattr(self, "pointTexture", None) is None:
self.pointTexture = glGenTextures(1)
glActiveTexture(GL_TEXTURE0)
glEnable(GL_TEXTURE_2D)
glBindTexture(GL_TEXTURE_2D, self.pointTexture)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment