summaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer.cpp
diff options
context:
space:
mode:
authorGravatar Emmanuel Gil Peyrot2015-05-25 20:34:09 +0200
committerGravatar Emmanuel Gil Peyrot2015-05-29 21:59:29 +0100
commitb1503b202043a577720e28969b74cca6f9c954f8 (patch)
tree7da9cdd46c0cde990c30c11570882efdca9396c6 /src/video_core/rasterizer.cpp
parentMerge pull request #817 from linkmauve/citra.ico (diff)
downloadyuzu-b1503b202043a577720e28969b74cca6f9c954f8.tar.gz
yuzu-b1503b202043a577720e28969b74cca6f9c954f8.tar.xz
yuzu-b1503b202043a577720e28969b74cca6f9c954f8.zip
Remove every trailing whitespace from the project (but externals).
Diffstat (limited to 'src/video_core/rasterizer.cpp')
-rw-r--r--src/video_core/rasterizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp
index 767ff4205..6df3a74f2 100644
--- a/src/video_core/rasterizer.cpp
+++ b/src/video_core/rasterizer.cpp
@@ -104,7 +104,7 @@ static u32 GetDepth(int x, int y) {
104 u8* depth_buffer = Memory::GetPhysicalPointer(addr); 104 u8* depth_buffer = Memory::GetPhysicalPointer(addr);
105 105
106 y = framebuffer.height - y; 106 y = framebuffer.height - y;
107 107
108 const u32 coarse_y = y & ~7; 108 const u32 coarse_y = y & ~7;
109 u32 bytes_per_pixel = Regs::BytesPerDepthPixel(framebuffer.depth_format); 109 u32 bytes_per_pixel = Regs::BytesPerDepthPixel(framebuffer.depth_format);
110 u32 stride = framebuffer.width * bytes_per_pixel; 110 u32 stride = framebuffer.width * bytes_per_pixel;