From 26a11a4b7f32a6fc2d131e4c78fe1ca40cc6ac8a Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 10 Mar 2022 17:53:43 +0200 Subject: Measure text. --- src/core.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/core.c') diff --git a/src/core.c b/src/core.c index cd7316e..c5ae5c6 100644 --- a/src/core.c +++ b/src/core.c @@ -301,6 +301,17 @@ int lcoreSetWindowTitle( lua_State *L ) { return 1; } +/* +> RL_lcoreCloseWindow() + +Close window and unload OpenGL context and free all resources +*/ +int lcoreCloseWindow( lua_State *L ) { + state->run = false; + + return 0; +} + /* ## Core - Timing */ -- cgit v1.2.3