remove obsolete reference to "construct" in bunny.outlined. clean up >r imbalance in opengl.capabilities
parent
645870c6c0
commit
9dbe18e07d
|
@ -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 )
|
||||
|
|
|
@ -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 )
|
Loading…
Reference in New Issue