mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 19:29:47 +02:00
- reverted back to original surface rendering due to memory issues that need to be looked at eventually
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user