diff options
| author | Rodolfo Osvaldo Bogado <rodolfoosvaldobogado@gmail.com> | 2011-01-29 04:31:56 +0000 |
|---|---|---|
| committer | Rodolfo Osvaldo Bogado <rodolfoosvaldobogado@gmail.com> | 2011-01-29 04:31:56 +0000 |
| commit | 4c58c7ea031d518f3bbb936fc8f97fa2aad878a3 (patch) | |
| tree | e3ba23a76be651db0277874a5d5e4d2d93aa52f0 /Source/Core/VideoCommon/Src/BPStructs.cpp | |
| parent | 64af8abcaebf48e183897908f434896f3432bb53 (diff) | |
initial implementation of fog range adjust, I don't think is correct or work right but is a start.
some tweaks and fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6957 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/BPStructs.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/BPStructs.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/BPStructs.cpp b/Source/Core/VideoCommon/Src/BPStructs.cpp index 9a8e5af10c..17ca146653 100644 --- a/Source/Core/VideoCommon/Src/BPStructs.cpp +++ b/Source/Core/VideoCommon/Src/BPStructs.cpp @@ -320,6 +320,9 @@ void BPWritten(const BPCmd& bp) case BPMEM_FOGRANGE+3: case BPMEM_FOGRANGE+4: case BPMEM_FOGRANGE+5: + if (!GetConfig(CONFIG_DISABLEFOG)) + PixelShaderManager::SetFogRangeAdjustChanged(); + break; case BPMEM_FOGPARAM0: case BPMEM_FOGBMAGNITUDE: case BPMEM_FOGBEXPONENT: |
