Qualify enum namespacing for NSOpenGLCPSwapInterval
This commit is contained in:
parent
c6f5b4a107
commit
e979f316e7
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue