mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
Fix ARM
This commit is contained in:
parent
fb3a9fa80a
commit
cf3e569800
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue