mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-01-26 02:07:26 +00:00
need sleep aaaa
This commit is contained in:
parent
0f98893f28
commit
cd50cf6b70
1 changed files with 3 additions and 1 deletions
|
@ -715,8 +715,10 @@ static bool preRenderAfterEffectLayer(const RenderState& rs)
|
||||||
{
|
{
|
||||||
if(core->darkLayer.isUsed()
|
if(core->darkLayer.isUsed()
|
||||||
// LR_DARK_LAYER is remapped to LR_ELEMENTS13 via renderLayerOrder,
|
// LR_DARK_LAYER is remapped to LR_ELEMENTS13 via renderLayerOrder,
|
||||||
// need to actually check LR_DARK_LAYER here
|
// need to actually check LR_DARK_LAYER here.
|
||||||
|
// HACK: For good measure let's check both
|
||||||
&& core->getRenderObjectLayer(LR_DARK_LAYER)->visible
|
&& core->getRenderObjectLayer(LR_DARK_LAYER)->visible
|
||||||
|
&& core->getRenderObjectLayer(LR_ELEMENTS13)->visible
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
core->darkLayer.render(rs);
|
core->darkLayer.render(rs);
|
||||||
|
|
Loading…
Reference in a new issue