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);