(VboRenderList vboRenderList)
| 264 | } |
| 265 | |
| 266 | public void finishDraw(VboRenderList vboRenderList) |
| 267 | { |
| 268 | this.bindBuffer(); |
| 269 | vboRenderList.setupArrayPointers(); |
| 270 | this.bufferIndexVertex.flip(); |
| 271 | this.bufferCountVertex.flip(); |
| 272 | GlStateManager.glMultiDrawArrays(this.drawMode, this.bufferIndexVertex, this.bufferCountVertex); |
| 273 | this.bufferIndexVertex.limit(this.bufferIndexVertex.capacity()); |
| 274 | this.bufferCountVertex.limit(this.bufferCountVertex.capacity()); |
| 275 | |
| 276 | if (this.positionTop > this.sizeUsed * 11 / 10) |
| 277 | { |
| 278 | this.compactRanges(1); |
| 279 | } |
| 280 | } |
| 281 | |
| 282 | public void unbindBuffer() |
| 283 | { |
no test coverage detected