///////////////////////////////////////////////////////
| 288 | |
| 289 | //////////////////////////////////////////////////////////// |
| 290 | void VertexBuffer::bind(const VertexBuffer* vertexBuffer) |
| 291 | { |
| 292 | if (!isAvailable()) |
| 293 | return; |
| 294 | |
| 295 | const TransientContextLock lock; |
| 296 | |
| 297 | glCheck(GLEXT_glBindBuffer(GLEXT_GL_ARRAY_BUFFER, vertexBuffer ? vertexBuffer->m_buffer : 0)); |
| 298 | } |
| 299 | |
| 300 | |
| 301 | //////////////////////////////////////////////////////////// |
nothing calls this directly
no test coverage detected