From 2e60ac0127b84e0d6b34343ef5f682465705fc80 Mon Sep 17 00:00:00 2001 From: Nikolas Date: Thu, 1 May 2025 17:15:34 +0200 Subject: [PATCH] Fixup RAYLIB_VERSION constant (#236) --- lib/preludes/raylib-prelude.zig | 36 ++------------------------------- 1 file changed, 2 insertions(+), 34 deletions(-) diff --git a/lib/preludes/raylib-prelude.zig b/lib/preludes/raylib-prelude.zig index b68d406..72bf52c 100644 --- a/lib/preludes/raylib-prelude.zig +++ b/lib/preludes/raylib-prelude.zig @@ -1819,38 +1819,7 @@ pub const MaterialMapIndex = enum(c_int) { brdf = 10, }; -pub const ShaderLocationIndex = enum(c_int) { - vertex_position = 0, - vertex_texcoord01 = 1, - vertex_texcoord02 = 2, - vertex_normal = 3, - vertex_tangent = 4, - vertex_color = 5, - matrix_mvp = 6, - matrix_view = 7, - matrix_projection = 8, - matrix_model = 9, - matrix_normal = 10, - vector_view = 11, - color_diffuse = 12, - color_specular = 13, - color_ambient = 14, - map_albedo = 15, - map_metalness = 16, - map_normal = 17, - map_roughness = 18, - map_occlusion = 19, - map_emission = 20, - map_height = 21, - map_cubemap = 22, - map_irradiance = 23, - map_prefilter = 24, - map_brdf = 25, - vertex_boneids = 26, - vertex_boneweights = 27, - bone_matrices = 28, - shader_loc_vertex_instance_tx -}; +pub const ShaderLocationIndex = enum(c_int) { vertex_position = 0, vertex_texcoord01 = 1, vertex_texcoord02 = 2, vertex_normal = 3, vertex_tangent = 4, vertex_color = 5, matrix_mvp = 6, matrix_view = 7, matrix_projection = 8, matrix_model = 9, matrix_normal = 10, vector_view = 11, color_diffuse = 12, color_specular = 13, color_ambient = 14, map_albedo = 15, map_metalness = 16, map_normal = 17, map_roughness = 18, map_occlusion = 19, map_emission = 20, map_height = 21, map_cubemap = 22, map_irradiance = 23, map_prefilter = 24, map_brdf = 25, vertex_boneids = 26, vertex_boneweights = 27, bone_matrices = 28, shader_loc_vertex_instance_tx }; pub const ShaderUniformDataType = enum(c_int) { float = 0, @@ -1982,7 +1951,7 @@ pub const AudioCallback = ?*const fn (?*anyopaque, c_uint) callconv(.C) void; pub const RAYLIB_VERSION_MAJOR = @as(i32, 5); pub const RAYLIB_VERSION_MINOR = @as(i32, 5); pub const RAYLIB_VERSION_PATCH = @as(i32, 0); -pub const RAYLIB_VERSION = "5.6-devfn alloc(_: *anyopaque, len: usize, _: std.mem.Alignment, _: usize) ?[*]u8 {"; +pub const RAYLIB_VERSION = "5.6-dev"; pub const MAX_TOUCH_POINTS = 10; pub const MAX_MATERIAL_MAPS = 12; @@ -2474,7 +2443,6 @@ fn remap(_: *anyopaque, buf: []u8, _: std.mem.Alignment, new_len: usize, _: usiz } } - const mem_vtable = std.mem.Allocator.VTable{ .alloc = alloc, .resize = resize,