diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/osx/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osx/mod.rs b/src/osx/mod.rs index a8cc3ac..fbdedfd 100644 --- a/src/osx/mod.rs +++ b/src/osx/mod.rs @@ -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) } |