diff options
| author | hrydgard <hrydgard@gmail.com> | 2009-09-13 17:46:33 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2009-09-13 17:46:33 +0000 |
| commit | a7c70ddb6684aee4dfcbc7ce43f07447fac7761d (patch) | |
| tree | 86a9cf8ffb27cb03733dfa656ee2647d7f93fb22 /Source/Core/VideoCommon/Src/PixelShaderGen.cpp | |
| parent | 5911abc60010d65d9ed9f18b7637d89cf8fe541b (diff) | |
D3D: Eliminate black borders, add 4:3 and 16:9 settings, and the widescreen hack. Unfortunately this temporarily breaks MSAA (in d3d only) until I have time to fix it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4263 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/PixelShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/PixelShaderGen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp index 4e55902088..75bc8dc31b 100644 --- a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp @@ -67,8 +67,8 @@ void GetPixelShaderId(PIXELSHADERUID &uid, u32 texturemask, u32 dstAlphaEnable) TevStageCombiner::ColorCombiner &cc = bpmem.combiners[i].colorC; TevStageCombiner::AlphaCombiner &ac = bpmem.combiners[i].alphaC; - u32 val0 = cc.hex&0xffffff; - u32 val1 = ac.hex&0xffffff; + u32 val0 = cc.hex & 0xffffff; + u32 val1 = ac.hex & 0xffffff; val0 |= bpmem.tevksel[i / 2].getKC(i & 1) << 24; val1 |= bpmem.tevksel[i / 2].getKA(i & 1) << 24; pcurvalue[0] = val0; |
