mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
necessery -> necessary
This commit is contained in:
@@ -45,7 +45,7 @@ void Shader::Compile(const char* vertexSource, const char* fragmentSource, const
|
||||
glAttachShader(this->ID, gShader);
|
||||
glLinkProgram(this->ID);
|
||||
checkCompileErrors(this->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(sVertex);
|
||||
glDeleteShader(sFragment);
|
||||
if (geometrySource != nullptr)
|
||||
|
||||
Reference in New Issue
Block a user