Fixed VBO being freed after OpenGL exit

Former-commit-id: ddd5fb16baa4371ceb917415bc138590cdc16e26
This commit is contained in:
Lynix 2014-09-14 19:35:12 +02:00
parent a008439cde
commit b79a4c503c
1 changed files with 1 additions and 0 deletions

View File

@ -223,6 +223,7 @@ bool NzForwardRenderTechnique::Initialize()
void NzForwardRenderTechnique::Uninitialize()
{
s_quadIndexBuffer.Reset();
s_quadVertexBuffer.Reset();
}
void NzForwardRenderTechnique::DrawBillboards(const NzScene* scene) const