summaryrefslogtreecommitdiff
path: root/examples/image_draw
diff options
context:
space:
mode:
authorjussi2024-02-25 14:06:59 +0200
committerjussi2024-02-25 14:06:59 +0200
commit47ed28b006db71d823cfaa24fa143ab5cfcf279b (patch)
treeadf35906662b0646a14adfa6a37260c797cd325a /examples/image_draw
parent631cea6aa7510ba53d4f14b5537e1719a72976b9 (diff)
downloadreilua-enhanced-47ed28b006db71d823cfaa24fa143ab5cfcf279b.tar.gz
reilua-enhanced-47ed28b006db71d823cfaa24fa143ab5cfcf279b.tar.bz2
reilua-enhanced-47ed28b006db71d823cfaa24fa143ab5cfcf279b.zip
Added various missing functions.
Diffstat (limited to 'examples/image_draw')
-rw-r--r--examples/image_draw/main.lua2
1 files changed, 1 insertions, 1 deletions
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 )