if (splintertexture) glDeleteTextures( 1, (const unsigned long *)&splintertexture );
if (leaftexture) glDeleteTextures( 1, (const unsigned long *)&leaftexture );
}
if (splintertexture) glDeleteTextures( 1, (const unsigned long *)&splintertexture );
if (leaftexture) glDeleteTextures( 1, (const unsigned long *)&leaftexture );
}