diff --git a/examples/shaders/texture_outline.zig b/examples/shaders/texture_outline.zig index 1cf3a78..0a01c5a 100644 --- a/examples/shaders/texture_outline.zig +++ b/examples/shaders/texture_outline.zig @@ -59,7 +59,7 @@ pub fn main() anyerror!void { rl.drawText("Shader-based\ntexture\noutline", 10, 10, 20, rl.Color.gray); - rl.drawText(rl.textFormat("Outline size: %i px", @floatToInt(i32, outlineSize)), 10, 120, 20, rl.Color.maroon); + rl.drawText(rl.textFormat("Outline size: %i px", .{@floatToInt(i32, outlineSize)}), 10, 120, 20, rl.Color.maroon); rl.drawFPS(710, 10); diff --git a/examples/textures/sprite_anim.zig b/examples/textures/sprite_anim.zig index 7f45200..9623359 100644 --- a/examples/textures/sprite_anim.zig +++ b/examples/textures/sprite_anim.zig @@ -69,7 +69,7 @@ pub fn main() anyerror!void { rl.drawRectangleLines(15 + @floatToInt(i32, frameRec.x), 40 + @floatToInt(i32, frameRec.y), @floatToInt(i32, frameRec.width), @floatToInt(i32, frameRec.height), rl.Color.red); rl.drawText("FRAME SPEED: ", 165, 210, 10, rl.Color.dark_gray); - rl.drawText(rl.textFormat("%02i FPS", .{framesSpeed}), 575, 210, 10, rl.Color.DARKGRAY); + rl.drawText(rl.textFormat("%02i FPS", .{framesSpeed}), 575, 210, 10, rl.Color.dark_gray); rl.drawText("PRESS RIGHT/LEFT KEYS to CHANGE SPEED!", 290, 240, 10, rl.Color.dark_gray); for ([_]u32{0} ** MAX_FRAME_SPEED) |_, i| {