use current color depth instead of hardcoding 24
use current color depth instead of hardcoding 24

If a color depth is specified then SDL needs to convert between it and the real
depth (in my case 32bpp) during SDL_UpdateRect/SDL_Flip. This is an expensive
operation that was responsible for 85% of the CPU usage when I profiled it.

antirez/load81,antirez/load81,seclorum/load81,seclorum/load81,saisai/load81,seclorum/load81,antirez/load81,saisai/load81,seclorum/load81,seclorum/load81,saisai/load81,antirez/load81,saisai/load81,saisai/load81,antirez/load81