mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
Qualify enum namespacing for NSOpenGLCPSwapInterval
This commit is contained in:
@@ -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