diff options
author | Lioncash <mathew1800@gmail.com> | 2020-04-17 04:43:33 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-04-17 05:43:34 +0200 |
commit | e2d8be1ca2cee27eb17964dd99c71dfd12431506 (patch) | |
tree | a1b92b6e3979373c1fb034e012fb1e9051ecf3db /src/video_core/engines | |
parent | CMakeLists: Enable -Wmissing-declarations on Linux builds (diff) | |
download | yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar.gz yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar.bz2 yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar.lz yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar.xz yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.tar.zst yuzu-e2d8be1ca2cee27eb17964dd99c71dfd12431506.zip |
Diffstat (limited to 'src/video_core/engines')
-rw-r--r-- | src/video_core/engines/fermi_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/fermi_2d.cpp b/src/video_core/engines/fermi_2d.cpp index 85d308e26..bace6affb 100644 --- a/src/video_core/engines/fermi_2d.cpp +++ b/src/video_core/engines/fermi_2d.cpp @@ -28,7 +28,7 @@ void Fermi2D::CallMethod(const GPU::MethodCall& method_call) { } } -std::pair<u32, u32> DelimitLine(u32 src_1, u32 src_2, u32 dst_1, u32 dst_2, u32 src_line) { +static std::pair<u32, u32> DelimitLine(u32 src_1, u32 src_2, u32 dst_1, u32 dst_2, u32 src_line) { const u32 line_a = src_2 - src_1; const u32 line_b = dst_2 - dst_1; const u32 excess = std::max<s32>(0, line_a - src_line + src_1); |