glDisable(GL_TEXTURE_3D) -> glDisable(GL_TEXTURE_2D)
This commit is contained in:
parent
fa77dae941
commit
6f49ede5c1
@ -99,5 +99,5 @@ class GLImageItem(GLGraphicsItem):
|
|||||||
glTexCoord2f(0,1)
|
glTexCoord2f(0,1)
|
||||||
glVertex3f(0, self.data.shape[1], 0)
|
glVertex3f(0, self.data.shape[1], 0)
|
||||||
glEnd()
|
glEnd()
|
||||||
glDisable(GL_TEXTURE_3D)
|
glDisable(GL_TEXTURE_2D)
|
||||||
|
|
||||||
|
@ -162,4 +162,4 @@ if HAVE_OPENGL:
|
|||||||
glTexCoord2f(0, 0)
|
glTexCoord2f(0, 0)
|
||||||
glVertex3f(-1, 1, 0)
|
glVertex3f(-1, 1, 0)
|
||||||
glEnd()
|
glEnd()
|
||||||
glDisable(GL_TEXTURE_3D)
|
glDisable(GL_TEXTURE_2D)
|
||||||
|
Loading…
Reference in New Issue
Block a user