Permalink
Browse files

Handled case fallthrough, fixing blank images bug.

  • Loading branch information...
1 parent 055d8eb commit 935608e3064a902af699e664ef62a6bdca5cca52 @bcmpinc bcmpinc committed with Jan 31, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 radiant/preferences.cpp
View
@@ -2812,6 +2812,10 @@ void PrefsDlg::UpdateTextureCompression()
Sys_Printf("S3TC DXT5 texture compression enabled\n");
break;
}
+ default:
+ g_qeglobals.texture_components = GL_RGBA;
+ Sys_Printf("texture compression disabled due to invalid preferences settings\n");
+ break;
}
}
else

1 comment on commit 935608e

TTimo commented on 935608e Jun 27, 2010

Cool, glad to see you guys are continuing to push fixes in.

Please sign in to comment.