summaryrefslogtreecommitdiff
path: root/src/text.c
diff options
context:
space:
mode:
authorIndrajith K L2025-11-04 17:31:31 +0530
committerIndrajith K L2025-11-04 17:31:31 +0530
commit087700245e14273a498d1dd2f79f2698e56f94e0 (patch)
tree78b7f13909d3246d08d8c2e4b03f3798a3705ca4 /src/text.c
parentcc4a5f53098dfdaf8cbebe81c3e34658694a2916 (diff)
downloadreilua-enhanced-087700245e14273a498d1dd2f79f2698e56f94e0.tar.gz
reilua-enhanced-087700245e14273a498d1dd2f79f2698e56f94e0.tar.bz2
reilua-enhanced-087700245e14273a498d1dd2f79f2698e56f94e0.zip
Use Oleaguid as default font instead of Raylib default
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.c b/src/text.c
index 914a75d..5f2a91a 100644
--- a/src/text.c
+++ b/src/text.c
@@ -495,7 +495,7 @@ int ltextDrawText( lua_State* L ) {
float fontSize = luaL_checknumber( L, 3 );
Color tint = uluaGetColor( L, 4 );
- DrawText( luaL_checkstring( L, 1 ), position.x, position.y, fontSize, tint );
+ DrawTextEx( state->defaultFont, luaL_checkstring( L, 1 ), position, fontSize, fontSize/10, tint );
return 0;
}