Skip to content

Commit

Permalink
opengl: fix small typo in fix-coordinates stack effect. Fixes factor#406
Browse files Browse the repository at this point in the history
.
  • Loading branch information
mrjbq7 committed Nov 15, 2011
1 parent bae84ed commit 414a768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basis/opengl/opengl.factor
Expand Up @@ -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 -- )
Expand Down

0 comments on commit 414a768

Please sign in to comment.