aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2014-10-23 13:18:06 +0200
committertomaka <pierre.krieger1708@gmail.com>2014-10-23 13:18:06 +0200
commitd0d787bff081356024f7de389362092a86b25da2 (patch)
tree9b55beb00a0450cc35c171579b3f2ea137f8088e
parent2a29e4d743205e96da611516f5fe99da78e462d1 (diff)
parent5969cfe886a163327e140052f840690e88532132 (diff)
downloadglutin-d0d787bff081356024f7de389362092a86b25da2.tar.gz
glutin-d0d787bff081356024f7de389362092a86b25da2.zip
Merge pull request #60 from DavidPartouche/mac-compilation-error
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)
}
}