Qualify enum namespacing for NSOpenGLCPSwapInterval

This commit is contained in:
Ruben Bakker committed 2014-12-03 20:54:10 +02:00
1 parent c6f5b4a107
commit e979f316e7
1 file changed
+1 -1
+1 -1
View File
@@ -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)
}