Not-Nik / raylib-zig

Manually tweaked, auto-generated raylib bindings for zig. https://github.com/raysan5/raylib
MIT License
473 stars 101 forks source link

add default fontChars support #64

Closed seppelin closed 5 months ago

seppelin commented 6 months ago

I added the support for passing null as fontChars and therefore loading the default fontChars in loadFontFromMemory. If accepted i would change the other font loading functions (Ex, Data...) as well.

I wasn't sure how to handle the types because they were very explicitly handled even though not needed. I prefer doing implicit casts but i can change it back as well.