- added more texture compression supported types

- some in progress work related to texture reloading
This commit is contained in:
Mark Vejvoda
2010-10-29 16:27:22 +00:00
parent 02a16da938
commit e0d338b583
9 changed files with 241 additions and 23 deletions

View File

@@ -661,5 +661,10 @@ void Program::showMessage(const char *msg) {
//SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s %d]\n",__FILE__,__FUNCTION__,__LINE__);
}
void Program::reInitGl() {
if(window != NULL) {
Config &config= Config::getInstance();
window->initGl(config.getInt("ColorBits"), config.getInt("DepthBits"), config.getInt("StencilBits"),config.getBool("HardwareAcceleration","false"),config.getBool("FullScreenAntiAliasing","false"));
}
}
}}//end namespace