This commit is contained in:
Taylor Trump 2017-01-05 15:22:51 +01:00 committed by GitHub
parent fb3a9fa80a
commit cf3e569800
1 changed files with 1 additions and 1 deletions

View File

@ -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
};