Update shader_s.h

typo
This commit is contained in:
Giuseppe Barbieri
2017-04-24 19:25:55 +02:00
committed by GitHub
parent 5491450bde
commit 745ad721bd

View File

@@ -66,7 +66,7 @@ public:
glAttachShader(ID, fragment);
glLinkProgram(ID);
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(fragment);
}
@@ -121,4 +121,4 @@ private:
}
};
#endif
#endif