| 155 | } |
| 156 | |
| 157 | void Geometry::ReleaseIndexPointer() |
| 158 | { |
| 159 | // Don't flush and unmap if the IBO is not custom |
| 160 | if (ibo_ != nullptr && iboParams_.mapBase != nullptr) { |
| 161 | iboParams_.object->FlushMappedBufferRange(iboParams_.offset, iboParams_.size); |
| 162 | iboParams_.object->Unmap(); |
| 163 | } |
| 164 | iboParams_.mapBase = nullptr; |
| 165 | } |
| 166 | |
| 167 | void Geometry::SetHostIndexPointer(const GLushort* indexPointer) |
| 168 | { |
no test coverage detected