mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
leaks fix (valgrind full leak check)
This commit is contained in:
parent
bcf2f5029d
commit
f8289a5d78
5 changed files with 17 additions and 19 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue