use a proper delete[]

This commit is contained in:
ehofman 2005-01-28 15:15:23 +00:00
parent 181e6eac75
commit 6b61a8eed1

View File

@ -49,7 +49,7 @@ SGTexture::SGTexture(unsigned int width, unsigned int height)
SGTexture::~SGTexture()
{
delete texture_data;
delete[] texture_data;
if ( texture_id != 0 ) {
free_id();