| 16 | } |
| 17 | |
| 18 | void* GL46Resource::MapForWrite(GLenum target) |
| 19 | { |
| 20 | glBindBuffer(target, mGLHandle); |
| 21 | GLvoid* mapped = glMapBuffer(target, GL_WRITE_ONLY); |
| 22 | glBindBuffer(target, 0); |
| 23 | return mapped; |
| 24 | } |
| 25 | |
| 26 | void GL46Resource::Unmap(GLenum target) |
| 27 | { |
nothing calls this directly
no test coverage detected