Basic sdl3 support.

This commit is contained in:
jussi
2025-03-12 23:26:01 +02:00
parent bfa73944f7
commit 63f3c1781c
10 changed files with 58 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
#include "main.h"
#include "lua_core.h"
#include "core.h"
#include "platforms/core_desktop_sdl.h"
#include "platforms/core_desktop_sdl2.h"
void platformDefineGlobals() {
lua_State* L = state->luaState;

View File

@@ -0,0 +1,23 @@
#include "main.h"
#include "lua_core.h"
#include "core.h"
#include "platforms/core_desktop_sdl3.h"
void platformDefineGlobals() {
lua_State* L = state->luaState;
lua_getglobal( L, "RL" );
/*DOC_DEFINES_START*/
/*DOC_DEFINES_END*/
lua_pop( L, -1 );
}
void luaPlatformRegister() {
// lua_State* L = state->luaState;
// lua_getglobal( L, "RL" );
// lua_pop( L, -1 );
#ifdef LUA_EVENTS
// platformRegisterEvents();
#endif
}