Skip to content

Commit

Permalink
Fix error in SceneClass::Render (#1107)
Browse files Browse the repository at this point in the history
  • Loading branch information
xezon authored Feb 15, 2024
1 parent 9be05c4 commit 0f9b63f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/w3d/renderer/scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void SceneClass::Render(RenderInfoClass &rinfo)
DX8Wrapper::Set_DX8_Render_State(D3DRS_ZBIAS, 7); // BFME2 calls Set_DX8_ZBias(7.0f) here
#endif
Customized_Render(rinfo);
} else if (m_extraPassPolyRenderMode == EXTRA_PASS_LINE) {
} else if (m_extraPassPolyRenderMode == EXTRA_PASS_CLEAR_LINE) {
DX8Wrapper::Clear(true, false, { 0, 0, 0 }, 0.0f);
W3D::Enable_Texturing(false);
#ifdef BUILD_WITH_D3D8
Expand Down

0 comments on commit 0f9b63f

Please sign in to comment.