Skip to content

Commit

Permalink
Remove normal flag after rendering edges
Browse files Browse the repository at this point in the history
  • Loading branch information
hughsando committed May 5, 2024
1 parent d7bc72b commit 0bdc98c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions project/src/common/Hardware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2436,6 +2436,11 @@ class HardwareBuilder
curvesToElement(rightCurve, leftCurve );
else
curvesToElement(leftCurve, rightCurve);

// Remove normal flag
mElement.mFlags &= ~DRAW_HAS_NORMAL;
mElement.mNormalOffset = 0;
mElement.mStride -= sizeof(float)*2;
}
else
{
Expand Down

0 comments on commit 0bdc98c

Please sign in to comment.