aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2016-01-23 21:30:18 +0100
committertomaka <pierre.krieger1708@gmail.com>2016-01-23 21:30:18 +0100
commit0faaa590b1a041636a01ec5a25bf27381ad4edec (patch)
tree77c6b55b37b00ac419dacf4dcd24311e46c7da4e
parent1ab6677f1e0966fc63eed99d64388da79d5c466e (diff)
parentbccbbaa57c52978c5e59c1547051be1e9c75b642 (diff)
downloadglutin-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.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9ca5757..ca079cb 100644
--- a/README.md
+++ b/README.md
@@ -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);
}