Delete buffers properly

This commit is contained in:
2013-02-09 09:28:17 +00:00
parent 9dfea26e0e
commit 933e67c687
2 changed files with 3 additions and 3 deletions

View File

@@ -93,7 +93,7 @@ void PTextures::InitTextures()
}
BindTexture(TEX_BACKGLOW, size, size, buffer, GL_LUMINANCE);
delete buffer;
delete[] buffer;
BindTexture(TEX_SLIDERS,
sliders.width,