Commit 9b5aa709 by Nicolas Capens Committed by Nicolas Capens

Fix checking each cube face for changes.

Bug chromium:805881 Change-Id: I4b63d6415e87f32cc1402649486b2e4d821db546 Reviewed-on: https://swiftshader-review.googlesource.com/16729Tested-by: 's avatarNicolas Capens <nicolascapens@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent 6c4564af
......@@ -1256,7 +1256,7 @@ void TextureCubeMap::updateBorders(int level)
return;
}
if(!posX->hasDirtyContents() || !posY->hasDirtyContents() || !posZ->hasDirtyContents() || !negX->hasDirtyContents() || !negY->hasDirtyContents() || !negY->hasDirtyContents())
if(!posX->hasDirtyContents() || !posY->hasDirtyContents() || !posZ->hasDirtyContents() || !negX->hasDirtyContents() || !negY->hasDirtyContents() || !negZ->hasDirtyContents())
{
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment