mipmap support on DDS for openGL cubemap

just need to test :)
Dreaded tabs vs spaces issue. Other than no problems that I've found.