aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
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 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);
}