From be39fd96344ee1f4f85ac5c63b4e5f9daf6e5171 Mon Sep 17 00:00:00 2001 From: jussi Date: Tue, 31 Oct 2023 15:24:11 +0200 Subject: GlyphInfo type. Some new text and core functions. --- examples/bunnymark/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/bunnymark/main.lua') diff --git a/examples/bunnymark/main.lua b/examples/bunnymark/main.lua index 03f53ad..7b1820e 100644 --- a/examples/bunnymark/main.lua +++ b/examples/bunnymark/main.lua @@ -83,7 +83,7 @@ function RL.draw() end RL.DrawRectangle( { 0, 0, screenWidth, 40 }, RL.BLACK) - RL.DrawText( RL.GetFontDefault(), "bunnies: " .. #bunnies, { 120, 10 }, 20, 2, RL.GREEN ) - RL.DrawText( RL.GetFontDefault(), "batched draw calls: " .. math.ceil( 1 + #bunnies / MAX_BATCH_ELEMENTS ), { 320, 10 }, 20, 2, RL.RED ) + RL.DrawText( "bunnies: " .. #bunnies, { 120, 10 }, 20, RL.GREEN ) + RL.DrawText( "batched draw calls: " .. math.ceil( 1 + #bunnies / MAX_BATCH_ELEMENTS ), { 320, 10 }, 20, RL.RED ) RL.DrawFPS( { 10, 10 } ) end -- cgit v1.2.3