mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add Lua function get_video_modes() for main menu
Also updates and uses porting::getSupportedVideoModes()
This commit is contained in:
parent
3ef0b4e637
commit
2430b2e998
4 changed files with 34 additions and 2 deletions
|
@ -137,6 +137,8 @@ private:
|
|||
|
||||
static int l_get_video_drivers(lua_State *L);
|
||||
|
||||
static int l_get_video_modes(lua_State *L);
|
||||
|
||||
//version compatibility
|
||||
static int l_get_min_supp_proto(lua_State *L);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue