odin-lang / Odin

Odin Programming Language
https://odin-lang.org
BSD 3-Clause "New" or "Revised" License
6.13k stars 551 forks source link

Made rl.SetShaderValue etc take a c.int like in original raylib #3737

Closed karl-zylinski closed 3 weeks ago

karl-zylinski commented 3 weeks ago

With rl.SetShaderValue you should be able to use other values than the ShaderLocationIndex enum, that enum is only for built in things in raylib. Added #any_int on those procs so you can pass both int and also a ShaderLocationIndex.