From b15ce9651101866c42cb75cf40d99e87cc2f13f0 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 24 Sep 2006 18:46:06 +0000 Subject: [PATCH] delete Texture --- stepmania/src/RageDisplay_D3D.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/RageDisplay_D3D.cpp b/stepmania/src/RageDisplay_D3D.cpp index e90fc6675d..5adf4247f1 100644 --- a/stepmania/src/RageDisplay_D3D.cpp +++ b/stepmania/src/RageDisplay_D3D.cpp @@ -1450,6 +1450,7 @@ void RageDisplay_D3D::UpdateTexture( Texture->h, // Height, NULL, // pPoint, Texture->format->BytesPerPixel ); //BytesPerPixel + delete Texture; #else int texpixfmt; for(texpixfmt = 0; texpixfmt < NUM_PixelFormat; ++texpixfmt)