| 385 | } |
| 386 | |
| 387 | void DrawBatch::SetEndState() const { |
| 388 | if (transparent && Graphics::Instance()->use_sample_alpha_to_coverage) { |
| 389 | glDisable(GL_SAMPLE_ALPHA_TO_COVERAGE); |
| 390 | } |
| 391 | } |
| 392 | |
| 393 | void DrawBatch::DrawVertexArrays() const { |
| 394 | if (vbo_faces.GetConst().valid()) { |