diff --git a/source/Irrlicht/OpenGL/Driver.cpp b/source/Irrlicht/OpenGL/Driver.cpp index 005c760d..bf5aacb7 100644 --- a/source/Irrlicht/OpenGL/Driver.cpp +++ b/source/Irrlicht/OpenGL/Driver.cpp @@ -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();