1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00
This commit is contained in:
Taylor Trump 2017-01-05 15:22:51 +01:00 committed by GitHub
parent fb3a9fa80a
commit cf3e569800

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