aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2014-12-04 20:51:29 +0100
committertomaka <pierre.krieger1708@gmail.com>2014-12-04 20:51:29 +0100
commitb30f18173e86577a6b0c4c631349d2085c15ae97 (patch)
tree80badf774323f810d731eb0eff2eaf2e10043e82 /src
parent45f9ff09e66e56ff53d7ceef7348e5cffbd9be6e (diff)
parente979f316e727bbfa12ec34b2b5c38f6003bfbb1a (diff)
downloadglutin-b30f18173e86577a6b0c4c631349d2085c15ae97.tar.gz
glutin-b30f18173e86577a6b0c4c631349d2085c15ae97.zip
Merge pull request #155 from AnthIste/osx-enum-fix
OSX: 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)
}