Skip to content

Commit e287a24

Browse files
committed
chore: formatting
1 parent 40ab9b4 commit e287a24

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/shared/renderer/utils.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,12 @@ pub fn compile_shader(kind: GLenum, src: &str) -> GLuint {
139139
gl::GetShaderiv(shader, gl::INFO_LOG_LENGTH, &mut len);
140140

141141
let mut buffer = vec![0u8; len as usize];
142-
gl::GetShaderInfoLog(shader, len, ptr::null_mut(), buffer.as_mut_ptr() as *mut GLchar);
142+
gl::GetShaderInfoLog(
143+
shader,
144+
len,
145+
ptr::null_mut(),
146+
buffer.as_mut_ptr() as *mut GLchar,
147+
);
143148

144149
panic!(
145150
"Shader compile error: {}",

0 commit comments

Comments
 (0)