]> gitweb.factorcode.org Git - factor.git/commitdiff
opengl: change rect-vertices to draw inside.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 18 Jul 2015 22:52:20 +0000 (15:52 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 18 Jul 2015 22:52:20 +0000 (15:52 -0700)
basis/opengl/opengl.factor

index 2b31079f661484efd6afaf91f6cd1f44b0e6f14c..80f72b9f3a7e2705bc9ec97ac6efa5edbb22be6c 100644 (file)
@@ -99,8 +99,8 @@ MACRO: all-enabled-client-state ( seq quot -- )
     #! We use GL_LINE_STRIP with a duplicated first vertex
     #! instead of GL_LINE_LOOP to work around a bug in Apple's
     #! X3100 driver.
-    loc first2 [ 0.3 - ] bi@ :> ( x y )
-    dim first2 [ 0.6 + ] bi@ :> ( w h )
+    loc first2 [ 0.3 + ] bi@ :> ( x y )
+    dim first2 [ 0.6 - ] bi@ :> ( w h )
     [
         x           y
         x w +       y