opengl: change rect-vertices to draw inside.
parent
58d84c6c98
commit
8931517401
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue