Add zbuffer and screenblocks options in .residualrc.
Also, make ZBUFFER_GLOBAL and SCREENBLOCKS_GLOBAL into bool variables.
This commit is contained in:
parent
edb7c81ce8
commit
4b06c2226d
6 changed files with 41 additions and 14 deletions
|
@ -155,7 +155,7 @@ void Scene::Setup::setupCamera() const {
|
|||
void Scene::setSetup(int num) {
|
||||
currSetup_ = setups_ + num;
|
||||
|
||||
if (SCREENBLOCKS_GLOBAL == 0)
|
||||
if (! SCREENBLOCKS_GLOBAL)
|
||||
return;
|
||||
if(currSetup_->bkgnd_zbm_)
|
||||
screenBlocksInit( currSetup_->bkgnd_zbm_->getData() );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue