mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 22:31:30 +11:00
Merge pull request #155 from AnthIste/osx-enum-fix
OSX: Qualify enum namespacing for NSOpenGLCPSwapInterval
This commit is contained in:
commit
b30f18173e
|
@ -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