commit 6534f3bef1dbee2a6f00f12cb9783d6ff3dadf8c
parent 1af0401a9637cbd3d64008d5cac889106061ecb1
Author: Michael Savage <mikejsavage@gmail.com>
Date: Sat, 4 Nov 2017 10:25:54 +0200
Don't free CPU heightmap data!
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/clipmap.cc b/clipmap.cc
@@ -45,8 +45,6 @@ struct RGBA {
GAME_INIT( game_init ) {
{
- MEMARENA_SCOPED_CHECKPOINT( &mem->persistent_arena );
-
Heightmap * hm = alloc< Heightmap >( &mem->persistent_arena );
hm->width = hm->height = 4096;
hm->pixels = memarena_push_many( &mem->persistent_arena, u16, 4096 * 4096 );