mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 09:16:18 +00:00
Fixed Object Viewer build.
This commit is contained in:
parent
58f5047b7e
commit
3d95baf101
1 changed files with 3 additions and 4 deletions
|
@ -120,7 +120,7 @@ void CObjectViewer::init( NL3D::UDriver *driver )
|
||||||
|
|
||||||
NL3D::CBloomEffect::instance().setDriver(_Driver);
|
NL3D::CBloomEffect::instance().setDriver(_Driver);
|
||||||
NL3D::CBloomEffect::instance().setScene(_Scene);
|
NL3D::CBloomEffect::instance().setScene(_Scene);
|
||||||
NL3D::CBloomEffect::instance().init(!_Direct3D);
|
NL3D::CBloomEffect::instance().init();
|
||||||
NL3D::CBloomEffect::instance().setDensityBloom(uint8(_BloomDensity));
|
NL3D::CBloomEffect::instance().setDensityBloom(uint8(_BloomDensity));
|
||||||
NL3D::CBloomEffect::instance().setSquareBloom(_BloomSquare);
|
NL3D::CBloomEffect::instance().setSquareBloom(_BloomSquare);
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@ void CObjectViewer::renderDriver()
|
||||||
// Render the scene.
|
// Render the scene.
|
||||||
if((NL3D::CBloomEffect::instance().getDriver() != 0) && (_BloomEffect))
|
if((NL3D::CBloomEffect::instance().getDriver() != 0) && (_BloomEffect))
|
||||||
{
|
{
|
||||||
NL3D::CBloomEffect::instance().initBloom();
|
NL3D::CBloomEffect::instance().init();
|
||||||
}
|
}
|
||||||
_Driver->clearBuffers(_BackgroundColor);
|
_Driver->clearBuffers(_BackgroundColor);
|
||||||
}
|
}
|
||||||
|
@ -184,8 +184,7 @@ void CObjectViewer::renderScene()
|
||||||
|
|
||||||
if((NL3D::CBloomEffect::instance().getDriver() != 0) && (_BloomEffect))
|
if((NL3D::CBloomEffect::instance().getDriver() != 0) && (_BloomEffect))
|
||||||
{
|
{
|
||||||
NL3D::CBloomEffect::instance().endBloom();
|
NL3D::CBloomEffect::instance().applyBloom();
|
||||||
NL3D::CBloomEffect::instance().endInterfacesDisplayBloom();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue