Browse Source

renderbuf is vestigial

opengl-renderer-broken
Martin Dørum 4 years ago
parent
commit
56e541b9b2
2 changed files with 0 additions and 3 deletions
  1. 0
    1
      libswan/include/swan/Chunk.h
  2. 0
    2
      libswan/src/Chunk.cc

+ 0
- 1
libswan/include/swan/Chunk.h View File

@@ -62,7 +62,6 @@ public:

private:
static constexpr float DEACTIVATE_INTERVAL = 20;
static uint8_t *renderbuf;

void renderList(SDL_Renderer *rnd);


+ 0
- 2
libswan/src/Chunk.cc View File

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

Loading…
Cancel
Save