Fix return value
This commit is contained in:
1 parent
7b2f6aaa1c
commit
98dd59e412
1 file changed
+1
Vendored
+1
@@ -128,6 +128,7 @@ compile_shader_from_source :: proc(shader_data: string, shader_type: Shader_Type
|
||||
CompileShader(shader_id);
|
||||
|
||||
check_error(shader_id, shader_type, COMPILE_STATUS, GetShaderiv, GetShaderInfoLog) or_return;
|
||||
ok = true;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user