summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sly/render/mesh.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/sly/render/mesh.scm b/sly/render/mesh.scm
index 1a666e3..69f89ce 100644
--- a/sly/render/mesh.scm
+++ b/sly/render/mesh.scm
@@ -230,7 +230,7 @@
(begin
(apply-mesh vao)
body ...
- (glBindVertexArray 0)))
+ (apply-mesh null-mesh)))
(define (vertex-attrib-pointer location vbo)
(glEnableVertexAttribArray location)