mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Reorganize supported video driver query mechanisms
This commit is contained in:
parent
44e4f5ab6e
commit
976d0b2caa
6 changed files with 160 additions and 98 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue