| 36 | } |
| 37 | |
| 38 | GLVertexArrayObject::~GLVertexArrayObject() |
| 39 | { |
| 40 | if(mVAO != 0) |
| 41 | { |
| 42 | GLRenderSystemCommon* rs = static_cast<GLRenderSystemCommon*>(Root::getSingleton().getRenderSystem()); |
| 43 | rs->_destroyVao(mCreatorContext, mVAO); |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | void GLVertexArrayObject::bind(GLRenderSystemCommon* rs) |
| 48 | { |
nothing calls this directly
no test coverage detected