1
0

QtBiomeVisualiser: Reduced memory usage.

This commit is contained in:
Mattes D
2014-10-28 20:52:04 +01:00
parent 3f3a2a6755
commit bea2edb2a9
4 changed files with 156 additions and 182 deletions

View File

@@ -79,6 +79,9 @@ protected:
/** Data used for rendering a chunk that hasn't been loaded yet */
uchar m_EmptyChunkImage[16 * 16 * 4];
/** Data placeholder for chunks that aren't valid. */
short m_EmptyChunkBiomes[16 * 16];
/** Draws the specified chunk into m_Image */
void drawChunk(int a_ChunkX, int a_ChunkZ);