remove obsolete reference to "construct" in bunny.outlined. clean up >r imbalance in opengl.capabilities

db4
Joe Groff 2008-09-01 08:53:32 -07:00
parent 645870c6c0
commit 9dbe18e07d
11 changed files with 4 additions and 8 deletions

View File

@ -5,9 +5,9 @@ continuations math.parser math arrays sets math.order ;
IN: opengl.capabilities
: (require-gl) ( thing require-quot make-error-quot -- )
>r dupd call
[ r> 2drop ]
[ r> " " make throw ]
-rot dupd call
[ 2drop ]
[ swap " " make throw ]
if ; inline
: gl-extensions ( -- seq )

View File

@ -139,11 +139,7 @@ TUPLE: bunny-outlined
: <bunny-outlined> ( gadget -- draw )
outlining-supported? [
pass1-program pass2-program {
(>>gadget)
(>>pass1-program)
(>>pass2-program)
} bunny-outlined construct
pass1-program pass2-program f f f f f bunny-outlined boa
] [ drop f ] if ;
: (framebuffer-texture) ( dim iformat xformat -- texture )