mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 13:20:06 -04:00
Qualify enum namespacing for NSOpenGLCPSwapInterval
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user