common code for shaders
This commit is contained in:
+1
-3
@@ -256,6 +256,4 @@ void apply_program(ShaderProgram program, Context context) {
|
||||
// draw output
|
||||
glDrawArrays(GL_TRIANGLES, 0, 6);
|
||||
}
|
||||
}
|
||||
|
||||
// TODO clean buffers from opengl memories
|
||||
}
|
||||
Reference in New Issue
Block a user