diff options
author | jshrake <justinshrake@gmail.com> | 2016-01-23 11:37:32 -0800 |
---|---|---|
committer | jshrake <justinshrake@gmail.com> | 2016-01-23 11:37:32 -0800 |
commit | bccbbaa57c52978c5e59c1547051be1e9c75b642 (patch) | |
tree | 77c6b55b37b00ac419dacf4dcd24311e46c7da4e | |
parent | 1ab6677f1e0966fc63eed99d64388da79d5c466e (diff) | |
download | glutin-bccbbaa57c52978c5e59c1547051be1e9c75b642.tar.gz glutin-bccbbaa57c52978c5e59c1547051be1e9c75b642.zip |
Fix the usage example in the README
Closes #712
-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); } |