forked from Mirrorlandia_minetest/irrlicht
master #5
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user