FREESCAPE: deallocate array of coordinates in opengl renderer

This commit is contained in:
neuromancer 2022-11-18 23:17:09 +01:00
parent a0299557fa
commit 1fe21ca59b

View File

@ -45,6 +45,7 @@ OpenGLRenderer::OpenGLRenderer(int screenW, int screenH, Common::RenderMode rend
OpenGLRenderer::~OpenGLRenderer() {
free(_verts);
free(_coords);
}
Texture *OpenGLRenderer::createTexture(const Graphics::Surface *surface) {