leaks fix (valgrind full leak check)

This commit is contained in:
MihailRis
2024-04-30 02:49:12 +03:00
parent bcf2f5029d
commit f8289a5d78
5 changed files with 17 additions and 19 deletions
+1
View File
@@ -73,6 +73,7 @@ void Shader::uniform3f(const std::string& name, glm::vec3 xyz){
inline auto shader_deleter = [](GLuint* shader) {
glDeleteShader(*shader);
delete shader;
};
inline const uint GL_LOG_LEN = 512;