aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorTomaka17 <pierre.krieger1708@gmail.com>2014-07-30 18:12:39 +0200
committerTomaka17 <pierre.krieger1708@gmail.com>2014-07-30 18:12:39 +0200
commit270e290af9f83590fe81504ec555d3a7da3cc303 (patch)
tree94b75cd9c28b7e9b76f217879d41df12f9961169 /README.md
parentec956688cd7fa43ccb3cbaf6b54890f400715662 (diff)
downloadglutin-270e290af9f83590fe81504ec555d3a7da3cc303.tar.gz
glutin-270e290af9f83590fe81504ec555d3a7da3cc303.zip
make_current() is now unsafe
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 2e1a9ae..19349cd 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ fn main() {
let window = init::Window::new(None, "Hello world!", &Default::default(), None).unwrap();
- window.make_current();
+ unsafe { window.make_current() };
gl::load_with(|symbol| window.get_proc_address(symbol) as *const libc::c_void);