Bump to Zig 0.12/raylib 5.1-dev (#81)

* Update to Zig 0.12.0 and raylib 5.1-dev

* More build.zig fixes for 0.12

* Get module with target and optimization

* Add examples to build step when compiling for emscripten

* Remove unused function

* Add build.* and emcc.zig to the zon paths (#83)

As per some info found through https://github.com/ziglang/zig/issues/18282,
this is apparently necessary to use this library as a dependency.

Co-authored-by: Drum Ogilvie <me@daogilvie.com>

* Update binding
This commit is contained in:
Nikolas 2024-04-28 22:52:24 +02:00 committed by Not-Nik
parent 6eeb304ff3
commit ae751ce82e
Failed to generate hash of commit
17 changed files with 1161 additions and 327 deletions

View file

@ -14,10 +14,11 @@ pub const rlVertexBuffer = extern struct {
elementCount: c_int,
vertices: [*c]f32,
texcoords: [*c]f32,
normals: [*c]f32,
colors: [*c]u8,
indices: [*c]c_ushort,
vaoId: c_uint,
vboId: [4]c_uint,
vboId: [5]c_uint,
};
pub const rlDrawCall = extern struct {