From 5bdcc13a06f3fd0dd1ebed8f3242366bbf76184f Mon Sep 17 00:00:00 2001 From: CobaltXII Date: Sun, 30 Dec 2018 19:05:17 -0500 Subject: [PATCH] Worlds are now larger --- src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 8c54260..03ebd76 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -123,7 +123,7 @@ int main(int argc, char** argv) // Allocate a new world*. - world* the_world = allocate_world(128, 128, 128); + world* the_world = allocate_world(512, 128, 512); generate_world(the_world, time(NULL)); @@ -473,6 +473,8 @@ int main(int argc, char** argv) deallocate_world(the_world); + deallocate_accessor(the_accessor); + // Destroy all OpenGL related objects. glDeleteTextures(1, &block_texture_array);