From cf3e56980057fa36d01e051ab273e037115c3b0d Mon Sep 17 00:00:00 2001 From: Taylor Trump Date: Thu, 5 Jan 2017 15:22:51 +0100 Subject: [PATCH] Fix ARM --- src/renderer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs index 81ac7fd4..10d3d838 100644 --- a/src/renderer/mod.rs +++ b/src/renderer/mod.rs @@ -1039,7 +1039,7 @@ impl ShaderProgram { let shader = unsafe { let shader = gl::CreateShader(kind); - gl::ShaderSource(shader, 1, &(source.as_ptr() as *const i8), len.as_ptr()); + gl::ShaderSource(shader, 1, &(source.as_ptr() as *const _), len.as_ptr()); gl::CompileShader(shader); shader };