1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-25 09:44:02 +00:00

revert part of 72f2b44620, now rendering of entities that are just simple quads is ok again

This commit is contained in:
fgenesis 2022-06-10 03:51:26 +02:00
parent 609a13d03d
commit e960b238be

View file

@ -560,7 +560,8 @@ void RenderObject::renderCall(const RenderState& rs) const
(*i)->render(rs);
}
if (rs.pass == RENDER_ALL || rs.pass == renderPass)
if (rs.pass == RENDER_ALL || renderPass == RENDER_ALL || rs.pass == renderPass)
{
if (texture)
{