mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-21 18:11:11 +00:00
Remove irr
namespace (#16309)
This commit is contained in:
parent
7e22c72492
commit
61551cfc3a
381 changed files with 680 additions and 1632 deletions
|
@ -11,8 +11,6 @@
|
|||
|
||||
#include <cassert>
|
||||
|
||||
namespace irr
|
||||
{
|
||||
namespace video
|
||||
{
|
||||
|
||||
|
@ -109,8 +107,8 @@ class COpenGLCoreCacheHandler
|
|||
texture = 0;
|
||||
|
||||
os::Printer::log("Fatal Error: Tried to set a texture not owned by this driver.", ELL_ERROR);
|
||||
os::Printer::log("Texture type", irr::core::stringc((int)type), ELL_ERROR);
|
||||
os::Printer::log("Driver (or cache handler) type", irr::core::stringc((int)DriverType), ELL_ERROR);
|
||||
os::Printer::log("Texture type", core::stringc((int)type), ELL_ERROR);
|
||||
os::Printer::log("Driver (or cache handler) type", core::stringc((int)DriverType), ELL_ERROR);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -553,7 +551,7 @@ public:
|
|||
//! Compare material to current cache and update it when there are differences
|
||||
// Some material renderers do change the cache beyond the original material settings
|
||||
// This corrects the material to represent the current cache state again.
|
||||
void correctCacheMaterial(irr::video::SMaterial &material)
|
||||
void correctCacheMaterial(video::SMaterial &material)
|
||||
{
|
||||
// Fix textures which got removed
|
||||
for (u32 i = 0; i < MATERIAL_MAX_TEXTURES; ++i) {
|
||||
|
@ -603,4 +601,3 @@ protected:
|
|||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue