From 2430b2e9981a56a4c407dc835ee74e7862e785f3 Mon Sep 17 00:00:00 2001 From: Craig Robbins Date: Sat, 28 Mar 2015 11:05:39 +1000 Subject: Add Lua function get_video_modes() for main menu Also updates and uses porting::getSupportedVideoModes() --- src/porting.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/porting.h') diff --git a/src/porting.h b/src/porting.h index 3d2677564..ddb56cf7d 100644 --- a/src/porting.h +++ b/src/porting.h @@ -371,6 +371,7 @@ float getDisplayDensity(); v2u32 getDisplaySize(); v2u32 getWindowSize(); +std::vector > getSupportedVideoModes(); std::vector getSupportedVideoDrivers(); const char *getVideoDriverName(irr::video::E_DRIVER_TYPE type); const char *getVideoDriverFriendlyName(irr::video::E_DRIVER_TYPE type); -- cgit v1.2.3