master #5

Merged
BRNSystems merged 45 commits from Mirrorlandia_minetest/irrlicht:master into master 2024-02-27 13:26:18 +01:00
Showing only changes of commit 2894d9ab03 - Show all commits

@ -314,6 +314,10 @@ COpenGL3DriverBase::~COpenGL3DriverBase()
vsFile->read(*vertexShaderData, size);
(*vertexShaderData)[size] = 0;
}
{
auto tmp = std::string("Loaded ") + std::to_string(size) + " bytes for vertex shader " + vertexShaderName.c_str();
os::Printer::log(tmp.c_str(), ELL_INFORMATION);
}
size = fsFile->getSize();
if (size)
@ -326,6 +330,10 @@ COpenGL3DriverBase::~COpenGL3DriverBase()
fsFile->read(*fragmentShaderData, size);
(*fragmentShaderData)[size] = 0;
}
{
auto tmp = std::string("Loaded ") + std::to_string(size) + " bytes for fragment shader " + fragmentShaderName.c_str();
os::Printer::log(tmp.c_str(), ELL_INFORMATION);
}
vsFile->drop();
fsFile->drop();