opengl: change rect-vertices to draw inside.

db4
John Benediktsson 2015-07-18 15:52:20 -07:00
parent 58d84c6c98
commit 8931517401
1 changed files with 2 additions and 2 deletions

View 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