deleting shader program upon destruction

This commit is contained in:
devZoGok
2026-04-24 19:01:02 +03:00
parent 8a4da0b691
commit a92ca606af
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ namespace vb01{
Shader(std::string, bool = false);
Shader(std::string, std::string);
Shader(std::string, std::string, std::string);
~Shader(){}
~Shader();
std::string getName();
void use();
void loadShaders();