From e979f316e727bbfa12ec34b2b5c38f6003bfbb1a Mon Sep 17 00:00:00 2001 From: Ruben Bakker Date: Wed, 3 Dec 2014 20:51:05 +0200 Subject: Qualify enum namespacing for NSOpenGLCPSwapInterval --- src/osx/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) } -- cgit v1.2.3