From 47ed28b006db71d823cfaa24fa143ab5cfcf279b Mon Sep 17 00:00:00 2001 From: jussi Date: Sun, 25 Feb 2024 14:06:59 +0200 Subject: Added various missing functions. --- examples/image_draw/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/image_draw/main.lua') diff --git a/examples/image_draw/main.lua b/examples/image_draw/main.lua index ba8881a..4a62840 100644 --- a/examples/image_draw/main.lua +++ b/examples/image_draw/main.lua @@ -31,7 +31,7 @@ function RL.init() RL.ImageDraw( image, catCopy, src, { 600, 200, src[3], src[4] }, RL.WHITE ) - textImage = RL.ImageText( RL.GetFontDefault(), "Cat", 10, 4, RL.WHITE ) + textImage = RL.ImageTextEx( RL.GetFontDefault(), "Cat", 10, 4, RL.WHITE ) local imageSize = RL.GetImageSize( textImage ) RL.ImageDraw( image, textImage, { 0, 0, imageSize[1], imageSize[2] }, { 250, 40, imageSize[1], imageSize[2] }, RL.WHITE ) -- cgit v1.2.3