diff options
| author | jussi | 2023-10-28 14:15:20 +0300 |
|---|---|---|
| committer | jussi | 2023-10-28 14:15:20 +0300 |
| commit | af03c7364ea0dfe2c8bb269eb8a8f9b580f39633 (patch) | |
| tree | 8ef09eefe38c890112972768c6861432028d8945 /examples/window | |
| parent | 23935aefca3212c989199cd7e195c02b01ef14ae (diff) | |
| download | reilua-enhanced-af03c7364ea0dfe2c8bb269eb8a8f9b580f39633.tar.gz reilua-enhanced-af03c7364ea0dfe2c8bb269eb8a8f9b580f39633.tar.bz2 reilua-enhanced-af03c7364ea0dfe2c8bb269eb8a8f9b580f39633.zip | |
New object type Font.
Diffstat (limited to 'examples/window')
| -rw-r--r-- | examples/window/main.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/window/main.lua b/examples/window/main.lua index 2fcba93..2b4a009 100644 --- a/examples/window/main.lua +++ b/examples/window/main.lua @@ -11,7 +11,6 @@ function RL.init() print( "path", path ) texture = RL.LoadTexture( path ) - print( "texture", texture ) end @@ -33,5 +32,5 @@ end function RL.draw() RL.ClearBackground( RL.RAYWHITE ) RL.DrawTexture( texture, { 20, 20 }, RL.WHITE ) - RL.DrawText( 0, text, textPos, 20, 2, textColor ) + RL.DrawText( RL.fontDefault, text, textPos, 20, 2, textColor ) end |
