mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Add Lua function get_video_modes() for main menu
Also updates and uses porting::getSupportedVideoModes()
This commit is contained in:
@@ -371,6 +371,7 @@ float getDisplayDensity();
|
||||
v2u32 getDisplaySize();
|
||||
v2u32 getWindowSize();
|
||||
|
||||
std::vector<core::vector3d<u32> > getSupportedVideoModes();
|
||||
std::vector<irr::video::E_DRIVER_TYPE> getSupportedVideoDrivers();
|
||||
const char *getVideoDriverName(irr::video::E_DRIVER_TYPE type);
|
||||
const char *getVideoDriverFriendlyName(irr::video::E_DRIVER_TYPE type);
|
||||
|
Reference in New Issue
Block a user