diff options
| author | 2015-03-08 21:31:15 -0500 | |
|---|---|---|
| committer | 2015-03-09 20:13:21 -0500 | |
| commit | 1248e291f0c9a29734b0f5175df8fa675cce930c (patch) | |
| tree | 18218cbe496e5a2f42022a5e6741fa0665218874 /src/core/hw/gpu.cpp | |
| parent | Frontend/Qt: Allow the framebuffer widget to inspect the depth buffer (diff) | |
| download | yuzu-1248e291f0c9a29734b0f5175df8fa675cce930c.tar.gz yuzu-1248e291f0c9a29734b0f5175df8fa675cce930c.tar.xz yuzu-1248e291f0c9a29734b0f5175df8fa675cce930c.zip | |
GPU: Added the stencil test structure to the Pica Regs struct.
Diffstat (limited to 'src/core/hw/gpu.cpp')
| -rw-r--r-- | src/core/hw/gpu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp index b7102b874..424ce2ca7 100644 --- a/src/core/hw/gpu.cpp +++ b/src/core/hw/gpu.cpp | |||
| @@ -81,9 +81,9 @@ inline void Write(u32 addr, const T data) { | |||
| 81 | if (config.fill_24bit) { | 81 | if (config.fill_24bit) { |
| 82 | // fill with 24-bit values | 82 | // fill with 24-bit values |
| 83 | for (u8* ptr = start; ptr < end; ptr += 3) { | 83 | for (u8* ptr = start; ptr < end; ptr += 3) { |
| 84 | ptr[0] = config.value_24bit_r; | 84 | ptr[0] = config.value_24bit_b; |
| 85 | ptr[1] = config.value_24bit_g; | 85 | ptr[1] = config.value_24bit_g; |
| 86 | ptr[2] = config.value_24bit_b; | 86 | ptr[2] = config.value_24bit_r; |
| 87 | } | 87 | } |
| 88 | } else if (config.fill_32bit) { | 88 | } else if (config.fill_32bit) { |
| 89 | // fill with 32-bit values | 89 | // fill with 32-bit values |