aboutsummaryrefslogtreecommitdiffstats
path: root/examples/support/mod.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-07-23 08:56:33 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-07-23 08:56:33 +0200
commit20dbd2a8b04c07f67bf3aafcba6b07dce41addfe (patch)
tree97e1cba5edb04a9905a3e858038863f9875d1d75 /examples/support/mod.rs
parenteb8611f2724401a84b84fa4e30ba570edf011886 (diff)
parent07c8154cb7f7f0f9387e64ddccd8705c048b35d8 (diff)
downloadglutin-20dbd2a8b04c07f67bf3aafcba6b07dce41addfe.tar.gz
glutin-20dbd2a8b04c07f67bf3aafcba6b07dce41addfe.zip
Merge pull request #538 from akiss77/aarch64-support-upstream
Add aarch64-unknown-linux-gnu support
Diffstat (limited to 'examples/support/mod.rs')
-rw-r--r--examples/support/mod.rs2
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()
};