Skip to content

Commit

Permalink
Disable cull_face in GraphicsDrawer::drawScreenSpaceTriangle
Browse files Browse the repository at this point in the history
It was removed by mistake in 0bc6cf7

Fixed #2251 Zelda: OnePiece backgrounds broken
  • Loading branch information
gonetz committed May 10, 2020
1 parent 5f816d2 commit a140f0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/GraphicsDrawer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,7 @@ void GraphicsDrawer::drawScreenSpaceTriangle(u32 _numVtx, graphics::DrawModePara

gSP.changed &= ~CHANGED_GEOMETRYMODE; // Don't update cull mode
_prepareDrawTriangle(DrawingState::ScreenSpaceTriangle);
gfxContext.enable(enable::CULL_FACE, false);

Context::DrawTriangleParameters triParams;
triParams.mode = _mode;
Expand Down

0 comments on commit a140f0a

Please sign in to comment.