From 9c9132297f44b9a5b629ac17f85b75a7451eeeaf Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Thu, 30 Jul 2009 20:57:22 -0500 Subject: [PATCH] no need to call set-gpu-state* directly --- extra/gpu/demos/bunny/bunny.factor | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extra/gpu/demos/bunny/bunny.factor b/extra/gpu/demos/bunny/bunny.factor index f975b21245..48f74df6ce 100755 --- a/extra/gpu/demos/bunny/bunny.factor +++ b/extra/gpu/demos/bunny/bunny.factor @@ -221,7 +221,7 @@ BEFORE: bunny-world begin-world bunny-uniforms boa ; : draw-bunny ( world -- ) - T{ depth-state { comparison cmp-less } } set-gpu-state* + T{ depth-state { comparison cmp-less } } set-gpu-state [ sobel>> framebuffer>> { @@ -247,7 +247,7 @@ BEFORE: bunny-world begin-world sobel-uniforms boa ; : draw-sobel ( world -- ) - T{ depth-state { comparison f } } set-gpu-state* + T{ depth-state { comparison f } } set-gpu-state sobel>> { { "primitive-mode" [ drop triangle-strip-mode ] } @@ -260,7 +260,7 @@ BEFORE: bunny-world begin-world [ draw-bunny ] [ draw-sobel ] bi ; : draw-loading ( world -- ) - T{ depth-state { comparison f } } set-gpu-state* + T{ depth-state { comparison f } } set-gpu-state loading>> { { "primitive-mode" [ drop triangle-strip-mode ] }