From 8931517401871fffc4ffb7dd0e6538a2734dd2b8 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Sat, 18 Jul 2015 15:52:20 -0700 Subject: [PATCH] opengl: change rect-vertices to draw inside. --- basis/opengl/opengl.factor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basis/opengl/opengl.factor b/basis/opengl/opengl.factor index 2b31079f66..80f72b9f3a 100644 --- a/basis/opengl/opengl.factor +++ b/basis/opengl/opengl.factor @@ -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