diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2016-01-23 21:30:18 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2016-01-23 21:30:18 +0100 |
commit | 0faaa590b1a041636a01ec5a25bf27381ad4edec (patch) | |
tree | 77c6b55b37b00ac419dacf4dcd24311e46c7da4e | |
parent | 1ab6677f1e0966fc63eed99d64388da79d5c466e (diff) | |
parent | bccbbaa57c52978c5e59c1547051be1e9c75b642 (diff) | |
download | glutin-0faaa590b1a041636a01ec5a25bf27381ad4edec.tar.gz glutin-0faaa590b1a041636a01ec5a25bf27381ad4edec.zip |
Merge pull request #713 from jshrake/fix-readme-usage
Fix the usage example in the README
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ fn main() { unsafe { window.make_current() }; unsafe { - gl::load_with(|symbol| window.get_proc_address(symbol)); + gl::load_with(|symbol| window.get_proc_address(symbol) as *const _); gl::ClearColor(0.0, 1.0, 0.0, 1.0); } |