aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/fullscreen.rs2
-rw-r--r--examples/multiwindow.rs2
-rw-r--r--examples/window.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/fullscreen.rs b/examples/fullscreen.rs
index 5cb71f7..d2e748c 100644
--- a/examples/fullscreen.rs
+++ b/examples/fullscreen.rs
@@ -29,7 +29,7 @@ fn main() {
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 version = {
use std::c_str::CString;
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();
diff --git a/examples/window.rs b/examples/window.rs
index db80e39..dfe804e 100644
--- a/examples/window.rs
+++ b/examples/window.rs
@@ -7,7 +7,7 @@ fn main() {
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 version = {
use std::c_str::CString;