bugfix: In cubemaps_skybox.cpp, the second argument to glBufferDelete() should be &SkyboxVBO instead of &SkyboxVAO

This commit is contained in:
SnowyLake
2021-11-09 17:26:20 +08:00
parent 2c8bf91c50
commit 31c2cf3a9a

View File

@@ -275,7 +275,7 @@ int main()
glDeleteVertexArrays(1, &cubeVAO); glDeleteVertexArrays(1, &cubeVAO);
glDeleteVertexArrays(1, &skyboxVAO); glDeleteVertexArrays(1, &skyboxVAO);
glDeleteBuffers(1, &cubeVBO); glDeleteBuffers(1, &cubeVBO);
glDeleteBuffers(1, &skyboxVAO); glDeleteBuffers(1, &skyboxVBO);
glfwTerminate(); glfwTerminate();
return 0; return 0;