Przeglądaj źródła

renderbuf is vestigial

opengl-renderer-broken
Martin Dørum 4 lat temu
rodzic
commit
56e541b9b2
2 zmienionych plików z 0 dodań i 3 usunięć
  1. 0
    1
      libswan/include/swan/Chunk.h
  2. 0
    2
      libswan/src/Chunk.cc

+ 0
- 1
libswan/include/swan/Chunk.h Wyświetl plik

@@ -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 Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz