Handbook
Glossary
sync-refresh-to-screen ( GLView -- )
Vocabulary
ui
.
backend
.
cocoa
.
views
Inputs
GLView
an
object
Outputs
None
Definition
USING:
alien.c-types
alien.data
cocoa.messages
cocoa.runtime
cocoa.views
core-graphics
kernel
;
IN:
ui.backend.cocoa.views
:
sync-refresh-to-screen
( GLView -- )
{
id
{
id
SEL
}
}
"openGLContext"
send
{
void*
{
id
SEL
}
}
"CGLContextObj"
send
NSOpenGLCPSwapInterval
1
int
<ref>
CGLSetParameter
drop
;