Don't call glFlush, it's useless
parent
e84cc5f82d
commit
1a4f2724e4
|
@ -29,6 +29,6 @@ HOOK: offscreen-pixels ui-backend ( world -- alien w h )
|
||||||
|
|
||||||
: with-gl-context ( handle quot -- )
|
: with-gl-context ( handle quot -- )
|
||||||
swap [ select-gl-context call ] keep
|
swap [ select-gl-context call ] keep
|
||||||
glFlush flush-gl-context gl-error ; inline
|
flush-gl-context gl-error ; inline
|
||||||
|
|
||||||
HOOK: (with-ui) ui-backend ( quot -- )
|
HOOK: (with-ui) ui-backend ( quot -- )
|
Loading…
Reference in New Issue