mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Android build fixes for c++11
This commit is contained in:
parent
69247ca223
commit
22a891a925
15 changed files with 139 additions and 53 deletions
|
@ -794,7 +794,7 @@ video::ITexture* TextureSource::generateTextureFromMesh(
|
|||
g_settings->getBool("inventory_image_hack")
|
||||
) {
|
||||
// Get a scene manager
|
||||
scene::ISceneManager *smgr_main = m_device->getSceneManager();
|
||||
scene::ISceneManager *smgr_main = RenderingEngine::get_raw_device()->getSceneManager();
|
||||
sanity_check(smgr_main);
|
||||
scene::ISceneManager *smgr = smgr_main->createNewSceneManager();
|
||||
sanity_check(smgr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue