Eye rotation fix

This commit is contained in:
korenkonder
2023-03-06 00:23:38 +03:00
parent b4c8969f96
commit 7e80deacb5
26 changed files with 75 additions and 69 deletions
+2 -2
View File
@@ -413,12 +413,12 @@ void render_data::load_common_data() {
void render_data::unload_common_data() {
common_data_ubo.Destroy();
if (grid_vbo) {
glDeleteBuffers(1, &grid_vbo);
grid_vbo = 0;
}
if (grid_vao) {
glDeleteVertexArrays(1, &grid_vao);
grid_vao = 0;