- reverted back to original surface rendering due to memory issues that need to be looked at eventually

This commit is contained in:
Mark Vejvoda 2011-02-06 00:46:40 +00:00
parent 6052ee6cc7
commit ef3aaacbc2
1 changed files with 3 additions and 2 deletions

View File

@ -1809,7 +1809,8 @@ void Renderer::renderSurface(const int renderFps) {
Quad2i snapshotOfvisibleQuad = visibleQuad;
bool useVertexArrayRendering = getVBOSupported();
//bool useVertexArrayRendering = getVBOSupported();
bool useVertexArrayRendering = false;
if(useVertexArrayRendering == false) {
//printf("\LEGACY qCache.visibleScaledCellList.size() = %d \n",qCache.visibleScaledCellList.size());
@ -1880,7 +1881,7 @@ void Renderer::renderSurface(const int renderFps) {
int lastSurfaceDataIndex = -1;
const bool useVBOs = false;
const bool useSurfaceCache = true;
const bool useSurfaceCache = false;
std::vector<SurfaceData> surfaceData;
bool recalcSurface = false;