summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sly/render.scm14
1 files changed, 7 insertions, 7 deletions
diff --git a/sly/render.scm b/sly/render.scm
index bc6db6b..c1d19e3 100644
--- a/sly/render.scm
+++ b/sly/render.scm
@@ -164,13 +164,13 @@
(make-transform-stack transform-stack-size)))
(define (graphics-reset! gfx)
- (set-graphics-blend-mode! gfx #f)
- (set-graphics-depth-test! gfx #f)
- (set-graphics-texture! gfx null-texture)
- (set-graphics-shader! gfx null-shader-program)
- (set-graphics-mesh! gfx null-mesh)
- (set-graphics-framebuffer! gfx null-framebuffer)
- (set-graphics-viewport! gfx null-viewport)
+ (set-graphics-blend-mode! gfx #f #t)
+ (set-graphics-depth-test! gfx #f #t)
+ (set-graphics-texture! gfx null-texture #t)
+ (set-graphics-shader! gfx null-shader-program #t)
+ (set-graphics-mesh! gfx null-mesh #t)
+ (set-graphics-framebuffer! gfx null-framebuffer #t)
+ (set-graphics-viewport! gfx null-viewport #t)
(stack-transform-identity! (graphics-projection gfx))
(stack-transform-identity! (graphics-model-view gfx)))