Fixed a nasty bug when using the OpenGL video backend with 8-bit color mode where the screen would turn black when switching from SDL mode.
Authored by: plombo 2010-10-24
Parent: [r2916]
Child: [r2918]