mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Convert ODIN_OS and ODIN_ARCH to use enums rather than use strings
This commit is contained in:
Vendored
+1
-1
@@ -188,7 +188,7 @@ load_shaders_source :: proc(vs_source, fs_source: string, binary_retrievable :=
|
||||
load_shaders :: proc{load_shaders_file}
|
||||
|
||||
|
||||
when ODIN_OS == "windows" {
|
||||
when ODIN_OS == .Windows {
|
||||
update_shader_if_changed :: proc(
|
||||
vertex_name, fragment_name: string,
|
||||
program: u32,
|
||||
|
||||
Reference in New Issue
Block a user