Skip to content

Commit

Permalink
Merge branch 'dev/lvengesanam/fix_set_and_enable_light' into 'main'
Browse files Browse the repository at this point in the history
Correct default LightEnable values for state map

See merge request lightspeedrtx/bridge-remix-nv!112
  • Loading branch information
lvengesanam committed Sep 24, 2024
2 parents 813b5a6 + d6b698e commit ec5944b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/d3d9_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3727,7 +3727,7 @@ HRESULT Direct3DDevice9Ex_LSS<EnableSync>::ResetState() {

// Reset Light States
for (uint32_t i = 0; i < caps::MaxEnabledLights; ++i) {
m_state.bLightEnables[i] = 1;
m_state.bLightEnables[i] = 0;
}

// Reset Stream Frequency
Expand Down

0 comments on commit ec5944b

Please sign in to comment.