summaryrefslogtreecommitdiff
path: root/src/porting.h
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-01-18 13:14:25 -0500
committerkwolekr <kwolekr@minetest.net>2015-01-18 13:24:25 -0500
commit976d0b2caa3f69c0b7c40e98517073e08e87774d (patch)
tree8af2e586e32eed924e42e8d5aab6a33737fc6a18 /src/porting.h
parent44e4f5ab6e20689f7106b957de62a1d7737cb28f (diff)
downloadminetest-976d0b2caa3f69c0b7c40e98517073e08e87774d.tar.gz
minetest-976d0b2caa3f69c0b7c40e98517073e08e87774d.tar.bz2
minetest-976d0b2caa3f69c0b7c40e98517073e08e87774d.zip
Reorganize supported video driver query mechanisms
Diffstat (limited to 'src/porting.h')
-rw-r--r--src/porting.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/porting.h b/src/porting.h
index a184af8b8..e6574494a 100644
--- a/src/porting.h
+++ b/src/porting.h
@@ -33,6 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#endif
#include <string>
+#include <vector>
#include "irrlicht.h"
#include "irrlichttypes.h" // u32
#include "irrlichttypes_extrabloated.h"
@@ -369,6 +370,10 @@ float getDisplayDensity();
v2u32 getDisplaySize();
v2u32 getWindowSize();
+
+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);
#endif
inline const char * getPlatformName()