1
0
Fork 0
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:
Lars Müller 2025-07-09 10:35:52 +02:00 committed by GitHub
parent 7e22c72492
commit 61551cfc3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
381 changed files with 680 additions and 1632 deletions

View file

@ -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:
};
}
}