]> gitweb.factorcode.org Git - factor.git/commitdiff
opengl.annotations: use dupd
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 24 Mar 2024 17:12:49 +0000 (12:12 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 24 Mar 2024 17:12:49 +0000 (12:12 -0500)
basis/opengl/annotations/annotations.factor

index 3282973b69ca8146231dae4c512309432ccdbb7d..29c56ea7614bfd34936726b700beb699d3022f68 100644 (file)
@@ -29,7 +29,7 @@ gl-error-log [ V{ } clone ] initialize
 
 : annotate-gl-functions ( quot -- )
     [
-        [ gl-functions ] dip [ [ dup ] dip curry (annotate) ] curry each
+        [ gl-functions ] dip [ dupd curry (annotate) ] curry each
     ] with-compilation-unit ;
 
 : reset-gl-functions ( -- )