mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
Update shader_s.h
typo
This commit is contained in:
committed by
GitHub
parent
5491450bde
commit
745ad721bd
@@ -66,7 +66,7 @@ public:
|
|||||||
glAttachShader(ID, fragment);
|
glAttachShader(ID, fragment);
|
||||||
glLinkProgram(ID);
|
glLinkProgram(ID);
|
||||||
checkCompileErrors(ID, "PROGRAM");
|
checkCompileErrors(ID, "PROGRAM");
|
||||||
// delete the shaders as they're linked into our program now and no longer necessery
|
// delete the shaders as they're linked into our program now and no longer necessary
|
||||||
glDeleteShader(vertex);
|
glDeleteShader(vertex);
|
||||||
glDeleteShader(fragment);
|
glDeleteShader(fragment);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user