mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
Qualify enum namespacing for NSOpenGLCPSwapInterval
This commit is contained in:
parent
c6f5b4a107
commit
e979f316e7
|
@ -233,7 +233,7 @@ impl Window {
|
|||
context.setView_(view);
|
||||
if vsync {
|
||||
let value = 1;
|
||||
context.setValues_forParameter_(&value, NSOpenGLCPSwapInterval);
|
||||
context.setValues_forParameter_(&value, NSOpenGLContextParameter::NSOpenGLCPSwapInterval);
|
||||
}
|
||||
Some(context)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue