| 221 | } |
| 222 | |
| 223 | surface_impl::~surface_impl() |
| 224 | { |
| 225 | for (auto it = mVAOMap.begin(); it!=mVAOMap.end(); ++it) { |
| 226 | GLuint vao = it->second; |
| 227 | glDeleteVertexArrays(1, &vao); |
| 228 | } |
| 229 | glDeleteBuffers(1, &mIBO); |
| 230 | } |
| 231 | |
| 232 | void surface_impl::render(const int pWindowId, |
| 233 | const int pX, const int pY, const int pVPW, const int pVPH, |
nothing calls this directly
no outgoing calls
no test coverage detected