Merge pull request #1644 from LukeUsher/smashing-drive-again
Fix a bug where the smashing drive fix was actually ignored
This commit is contained in:
commit
a76bac4205
|
@ -102,7 +102,7 @@ void UpdateDeferredRenderStates()
|
|||
if (fogValue < 0.0f) {
|
||||
LOG_TEST_CASE("FOGSTART/FOGEND below 0");
|
||||
fogValue = std::abs(fogValue);
|
||||
Value = *(DWORD*)&Value;
|
||||
Value = *(DWORD*)&fogValue;
|
||||
}
|
||||
} break;
|
||||
case XTL::X_D3DRS_FOGENABLE:
|
||||
|
|
Loading…
Reference in New Issue