Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Calvin1602 committed Sep 29, 2016
1 parent a03a531 commit 927eeea
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tutorial05_textured_cube/tutorial05.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ int main( void )
glDeleteBuffers(1, &vertexbuffer);
glDeleteBuffers(1, &uvbuffer);
glDeleteProgram(programID);
glDeleteTextures(1, &TextureID);
glDeleteTextures(1, &Texture);
glDeleteVertexArrays(1, &VertexArrayID);

// Close OpenGL window and terminate GLFW
Expand Down
2 changes: 1 addition & 1 deletion tutorial07_model_loading/tutorial07.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ int main( void )
glDeleteBuffers(1, &vertexbuffer);
glDeleteBuffers(1, &uvbuffer);
glDeleteProgram(programID);
glDeleteTextures(1, &TextureID);
glDeleteTextures(1, &Texture);
glDeleteVertexArrays(1, &VertexArrayID);

// Close OpenGL window and terminate GLFW
Expand Down
2 changes: 1 addition & 1 deletion tutorial14_render_to_texture/tutorial14.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ int main( void )
glDeleteBuffers(1, &normalbuffer);
glDeleteBuffers(1, &elementbuffer);
glDeleteProgram(programID);
glDeleteTextures(1, &TextureID);
glDeleteTextures(1, &Texture);

glDeleteFramebuffers(1, &FramebufferName);
glDeleteTextures(1, &renderedTexture);
Expand Down
2 changes: 1 addition & 1 deletion tutorial17_rotations/tutorial17.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ int main( void )
glDeleteBuffers(1, &normalbuffer);
glDeleteBuffers(1, &elementbuffer);
glDeleteProgram(programID);
glDeleteTextures(1, &TextureID);
glDeleteTextures(1, &Texture);

// Close GUI and OpenGL window, and terminate GLFW
TwTerminate();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ int main( void )
// Cleanup VBO and shader
glDeleteBuffers(1, &billboard_vertex_buffer);
glDeleteProgram(programID);
glDeleteTextures(1, &TextureID);
glDeleteTextures(1, &Texture);
glDeleteVertexArrays(1, &VertexArrayID);
#ifdef DRAW_CUBE
glDeleteProgram(cubeProgramID);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ int main( void )
glDeleteBuffers(1, &particles_position_buffer);
glDeleteBuffers(1, &billboard_vertex_buffer);
glDeleteProgram(programID);
glDeleteTextures(1, &TextureID);
glDeleteTextures(1, &Texture);
glDeleteVertexArrays(1, &VertexArrayID);


Expand Down

0 comments on commit 927eeea

Please sign in to comment.