Added ShyotlRenderVBOStrideMode to toggle between strided and unstrided VBOs.
This commit is contained in:
@@ -336,7 +336,7 @@ BOOL LLVOWLSky::updateGeometry(LLDrawable * drawable)
|
||||
{
|
||||
const U32 max_buffer_bytes = gSavedSettings.getS32("RenderMaxVBOSize")*1024;
|
||||
const U32 data_mask = LLDrawPoolWLSky::SKY_VERTEX_DATA_MASK;
|
||||
const U32 max_verts = max_buffer_bytes / LLVertexBuffer::calcStride(data_mask);
|
||||
const U32 max_verts = max_buffer_bytes / LLVertexBuffer::calcVertexSize(data_mask);
|
||||
|
||||
const U32 total_stacks = getNumStacks();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user