mirror of
https://github.com/storytold/winit.git
synced 2026-11-24 05:10:57 +01:00
Qualify enum namespacing for NSOpenGLCPSwapInterval
This commit is contained in:
1 parent
c6f5b4a107
commit
e979f316e7
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user