disable lighting and depth test

This commit is contained in:
Josh Holtrop 2011-03-31 22:39:05 -04:00
parent dd8bd07d1e
commit 4cc7901c2d

View File

@ -35,12 +35,6 @@ class SketchWidget:
# GL calls
if not gldrawable.gl_begin(glcontext): return
glLightfv(GL_LIGHT0, GL_POSITION, (1, 1, 1, 0))
glEnable(GL_CULL_FACE)
glEnable(GL_LIGHTING)
glEnable(GL_LIGHT0)
glEnable(GL_DEPTH_TEST)
gldrawable.gl_end()
def reshape(self, glarea, event):