| 400 | } |
| 401 | |
| 402 | void Graphics::BindArrayVBO(int val) { |
| 403 | LOGS << "Current vbo_array_bound " << vbo_array_bound << std::endl; |
| 404 | LOGS << "Value " << val << std::endl; |
| 405 | if (vbo_array_bound != val) { |
| 406 | vbo_array_bound = val; |
| 407 | glBindBuffer(GL_ARRAY_BUFFER, val); |
| 408 | } else { |
| 409 | LOGS << "Tried to rebind " << val << std::endl; |
| 410 | } |
| 411 | } |
| 412 | |
| 413 | void Graphics::BindElementVBO(int val) { |
| 414 | if (vbo_element_bound != val) { |
no outgoing calls
no test coverage detected