Not-Nik / raylib-zig

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

Load SVG #106

Closed yanfrimmel closed 3 months ago

yanfrimmel commented 3 months ago

One of the features of raylib 5 is SVG support, currently there is no way to turn on SVG support from the original config.h, hence the method loadImageSvg is not working.

yanfrimmel commented 3 months ago

Managed to solve this by adding the following to build.zig: raylib_artifact.defineCMacro("SUPPORT_FILEFORMAT_SVG", "1");