no need to call set-gpu-state* directly

db4
Joe Groff 2009-07-30 20:57:22 -05:00
parent b6ddcafcbd
commit 9c9132297f
1 changed files with 3 additions and 3 deletions

View File

@ -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 ] }