aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Partouche <david@manateedev.com>2014-10-23 12:04:39 +0200
committerDavid Partouche <david@manateedev.com>2014-10-23 12:04:39 +0200
commit5969cfe886a163327e140052f840690e88532132 (patch)
tree9b55beb00a0450cc35c171579b3f2ea137f8088e
parent2a29e4d743205e96da611516f5fe99da78e462d1 (diff)
downloadglutin-5969cfe886a163327e140052f840690e88532132.tar.gz
glutin-5969cfe886a163327e140052f840690e88532132.zip
Fixed a compilation error: setContentview changed setContentView_
-rw-r--r--src/osx/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osx/mod.rs b/src/osx/mod.rs
index 78d147f..0510006 100644
--- a/src/osx/mod.rs
+++ b/src/osx/mod.rs
@@ -135,7 +135,7 @@ impl Window {
None
} else {
view.setWantsBestResolutionOpenGLSurface_(true);
- window.setContentView(view);
+ window.setContentView_(view);
Some(view)
}
}