Qualify enum namespacing for NSOpenGLCPSwapInterval

This commit is contained in:
Ruben Bakker 2014-12-03 20:51:05 +02:00
parent c6f5b4a107
commit e979f316e7

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