mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Remove Irrlicht versioning
This commit is contained in:
parent
b487341c32
commit
d53ef90a73
12 changed files with 2 additions and 133 deletions
|
@ -996,12 +996,7 @@ int ModApiMainMenu::l_get_active_driver(lua_State *L)
|
|||
|
||||
int ModApiMainMenu::l_get_active_renderer(lua_State *L)
|
||||
{
|
||||
#if IRRLICHT_VERSION_MT_REVISION >= 15
|
||||
lua_pushstring(L, RenderingEngine::get_video_driver()->getName());
|
||||
#else
|
||||
auto tmp = wide_to_utf8(RenderingEngine::get_video_driver()->getName());
|
||||
lua_pushstring(L, tmp.c_str());
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue