Not sure what you're getting at - that code works fine, although it'd stop the sides of the cube from disappearing if you turn off mipmapping when you reload the texture.
Should also free the original texture before reloading it so you don't end up with two copies in memory.
Should also free the original texture before reloading it so you don't end up with two copies in memory.