aboutsummaryrefslogtreecommitdiffstats
path: root/examples/multiwindow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/multiwindow.rs')
-rw-r--r--examples/multiwindow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multiwindow.rs b/examples/multiwindow.rs
index 4f58441..1cec1db 100644
--- a/examples/multiwindow.rs
+++ b/examples/multiwindow.rs
@@ -23,7 +23,7 @@ fn main() {
fn run(window: init::Window, color: (f32, f32, f32, f32)) {
unsafe { window.make_current() };
- gl::load_with(|symbol| window.get_proc_address(symbol) as *const libc::c_void);
+ gl::load_with(|symbol| window.get_proc_address(symbol));
{
let win_size = window.get_inner_size().unwrap();