aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.cpp')
-rw-r--r--src/world.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/world.cpp b/src/world.cpp
index e251706..e87d6d0 100644
--- a/src/world.cpp
+++ b/src/world.cpp
@@ -700,6 +700,8 @@ void WorldSystem::render(void)
glDrawArrays(GL_TRIANGLES, 0, stars.size() * 6);
}
+ delete[] star_coord;
+
Render::worldShader.disable();
glUniform4f(Render::worldShader.uniform[WU_tex_color], 1.0, 1.0, 1.0, 1.0);