mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 04:50:29 +00:00
Fix return value
This commit is contained in:
1
vendor/OpenGL/helpers.odin
vendored
1
vendor/OpenGL/helpers.odin
vendored
@@ -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