mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-02 04:37:54 +08:00
spelling: necessary
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -89,7 +89,7 @@ public:
|
|||||||
glAttachShader(ID, geometry);
|
glAttachShader(ID, geometry);
|
||||||
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);
|
||||||
if(geometryPath != nullptr)
|
if(geometryPath != nullptr)
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ public:
|
|||||||
glAttachShader(ID, compute);
|
glAttachShader(ID, compute);
|
||||||
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(compute);
|
glDeleteShader(compute);
|
||||||
}
|
}
|
||||||
// activate the shader
|
// activate the shader
|
||||||
|
|||||||
@@ -65,7 +65,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);
|
||||||
|
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ public:
|
|||||||
glAttachShader(ID, tessEval);
|
glAttachShader(ID, tessEval);
|
||||||
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);
|
||||||
if(geometryPath != nullptr)
|
if(geometryPath != nullptr)
|
||||||
|
|||||||
Reference in New Issue
Block a user