mirror of
https://github.com/glest/glest-source.git
synced 2025-10-03 19:01:53 +02:00
- added more texture compression supported types
- some in progress work related to texture reloading
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user