Home
last modified time | relevance | path

Searched refs:optVertCount (Results 1 – 1 of 1) sorted by relevance

/dports/games/spring/spring_98.0/rts/Rendering/GL/
H A DVertexArray.cpp121 const int optVertCount = maxVertices - (maxVertices % GetPrimitiveRestartEach(mode)); in DrawArrays() local
128 if (length > 1.5f * optVertCount) { in DrawArrays()
129 int spliti = length / optVertCount; in DrawArrays()
131 glDrawArrays(mode, oldIndex, optVertCount); in DrawArrays()
132 oldIndex += optVertCount - stripOffset; in DrawArrays()
163 const int optVertCount = maxVertices - (maxVertices % GetPrimitiveRestartEach(mode)); in DrawArraysCallback() local
171 if (length > 1.25f * optVertCount) { in DrawArraysCallback()
172 int spliti = length / optVertCount; in DrawArraysCallback()
174 glDrawArrays(mode, oldIndex, optVertCount); in DrawArraysCallback()
175 oldIndex += optVertCount - stripOffset; in DrawArraysCallback()