mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 23:01: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);
|
context.setView_(view);
|
||||||
if vsync {
|
if vsync {
|
||||||
let value = 1;
|
let value = 1;
|
||||||
context.setValues_forParameter_(&value, NSOpenGLCPSwapInterval);
|
context.setValues_forParameter_(&value, NSOpenGLContextParameter::NSOpenGLCPSwapInterval);
|
||||||
}
|
}
|
||||||
Some(context)
|
Some(context)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue