]> gitweb.factorcode.org Git - factor.git/commitdiff
opengl: fix small typo in fix-coordinates stack effect. Fixes #406.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 15 Nov 2011 16:18:22 +0000 (08:18 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 15 Nov 2011 16:18:22 +0000 (08:18 -0800)
basis/opengl/opengl.factor

index dc7fe152c9a0147237fdf86f3087d1f76088939d..9269a4f56c9b62fbbeb6a8a8e365c315c9baff3d 100644 (file)
@@ -200,7 +200,7 @@ MACRO: set-draw-buffers ( buffers -- )
 : with-translation ( loc quot -- )
     [ [ gl-translate ] dip call ] do-matrix ; inline
 
-: fix-coordinates ( point1 point2 -- x1 y2 x2 y2 )
+: fix-coordinates ( point1 point2 -- x1 y1 x2 y2 )
     [ first2 [ >fixnum ] bi@ ] bi@ ;
 
 : gl-set-clip ( loc dim -- )