Fixed bug: If texture gamma is changed from the default; during startup GL_DoUpdateTexGamma is called before the file manager has loaded PLAYPAL and thus LoadPalette will fail. Check whether the texture manager is online before attempting to do any updating (if its not, we don't need to do an update anyway).
Fixed bug: If texture gamma is changed from the default; during startup GL_DoUpdateTexGamma is called before the file manager has loaded PLAYPAL and thus LoadPalette will fail. Check whether the texture manager is online before attempting to do any updating (if its not, we don't need to do an update anyway).