diff options
Diffstat (limited to 'examples/image_draw/main.lua')
| -rw-r--r-- | examples/image_draw/main.lua | 2 |
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 ) |
