diff options
Diffstat (limited to 'src/world.cpp')
-rw-r--r-- | src/world.cpp | 2 |
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); |