diff options
Diffstat (limited to 'examples/support')
-rw-r--r-- | examples/support/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/support/mod.rs b/examples/support/mod.rs index ac41239..01eeb7b 100644 --- a/examples/support/mod.rs +++ b/examples/support/mod.rs @@ -22,7 +22,7 @@ pub fn load(window: &glutin::Window) -> Context { let gl = gl::Gl::load(window); let version = unsafe { - let data = CStr::from_ptr(gl.GetString(gl::VERSION) as *const i8).to_bytes().to_vec(); + let data = CStr::from_ptr(gl.GetString(gl::VERSION) as *const _).to_bytes().to_vec(); String::from_utf8(data).unwrap() }; |