aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRuben Bakker <rubenbak@gmail.com>2014-12-03 20:51:05 +0200
committerRuben Bakker <rubenbak@gmail.com>2014-12-03 20:54:10 +0200
commite979f316e727bbfa12ec34b2b5c38f6003bfbb1a (patch)
tree3d5a6d9e45083fbcd2883e89dacf89660a2943d3 /src
parentc6f5b4a107109c7c900b5e56adb036a5e55e667b (diff)
downloadglutin-e979f316e727bbfa12ec34b2b5c38f6003bfbb1a.tar.gz
glutin-e979f316e727bbfa12ec34b2b5c38f6003bfbb1a.zip
Qualify enum namespacing for NSOpenGLCPSwapInterval
Diffstat (limited to 'src')
-rw-r--r--src/osx/mod.rs2
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)
}