Merge pull request #155 from AnthIste/osx-enum-fix

OSX: Qualify enum namespacing for NSOpenGLCPSwapInterval
This commit is contained in:
tomaka 2014-12-04 20:51:29 +01:00
commit b30f18173e

View file

@ -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)
} }