mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Fix return value
This commit is contained in:
Vendored
+1
@@ -128,6 +128,7 @@ compile_shader_from_source :: proc(shader_data: string, shader_type: Shader_Type
|
|||||||
CompileShader(shader_id);
|
CompileShader(shader_id);
|
||||||
|
|
||||||
check_error(shader_id, shader_type, COMPILE_STATUS, GetShaderiv, GetShaderInfoLog) or_return;
|
check_error(shader_id, shader_type, COMPILE_STATUS, GetShaderiv, GetShaderInfoLog) or_return;
|
||||||
|
ok = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user