GRAPHICS: OPENGL: Free log after using it

This commit is contained in:
Le Philousophe 2023-01-28 18:44:51 +01:00
parent e095d15a37
commit b1ebc64c03

View File

@ -141,6 +141,8 @@ GLuint Shader::createDirectShader(size_t shaderSourcesCount, const char *const *
_error = Common::String::format("Could not compile shader %s: %s", name.c_str(), log);
warning("Shader::createDirectShader(): %s", _error.c_str());
delete[] log;
return 0;
}