Merge pull request #713 from jshrake/fix-readme-usage
Fix the usage example in the README
This commit is contained in:
commit
0faaa590b1
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ fn main() {
|
||||||
unsafe { window.make_current() };
|
unsafe { window.make_current() };
|
||||||
|
|
||||||
unsafe {
|
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);
|
gl::ClearColor(0.0, 1.0, 0.0, 1.0);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue