@@ -62,7 +62,6 @@ public: | |||
private: | |||
static constexpr float DEACTIVATE_INTERVAL = 20; | |||
static uint8_t *renderbuf; | |||
void renderList(SDL_Renderer *rnd); | |||
@@ -13,8 +13,6 @@ | |||
namespace Swan { | |||
uint8_t *Chunk::renderbuf = new uint8_t[CHUNK_WIDTH * TILE_SIZE * CHUNK_HEIGHT * TILE_SIZE * 4]; | |||
void Chunk::compress() { | |||
if (isCompressed()) | |||
return; |