Skip to content

Commit 547f145

Browse files
committed
Do not allow manually binding shaders
1 parent 8992a82 commit 547f145

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

demosys/opengl/shader.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,6 @@ def uniform(self, name, value=None):
6565
else:
6666
uniform.value = value
6767

68-
def bind(self):
69-
"""
70-
Bind the shader. Ideally we should never need to use this as programs are bound to VAOs directly
71-
"""
72-
GL.glUseProgram(self.program.glo)
73-
7468
def set_source(self, source):
7569
"""
7670
Set a single source file.

0 commit comments

Comments
 (0)