diff options
| author | 2015-12-07 20:21:06 -0800 | |
|---|---|---|
| committer | 2015-12-07 20:21:06 -0800 | |
| commit | 31764c48fb8f78b998b6627ef4ea4f1b2ec83903 (patch) | |
| tree | 61533db5c3b250e4f3bc557e442b589e307201ca /src/video_core/clipper.cpp | |
| parent | Merge pull request #1271 from lioncash/dyncom-misc (diff) | |
| parent | VideoCore: Unify interface to OpenGL and SW rasterizers (diff) | |
| download | yuzu-31764c48fb8f78b998b6627ef4ea4f1b2ec83903.tar.gz yuzu-31764c48fb8f78b998b6627ef4ea4f1b2ec83903.tar.xz yuzu-31764c48fb8f78b998b6627ef4ea4f1b2ec83903.zip | |
Merge pull request #1272 from yuriks/merge-rasterizer
VideoCore: Unify interface to OpenGL and SW rasterizers
Diffstat (limited to 'src/video_core/clipper.cpp')
| -rw-r--r-- | src/video_core/clipper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/clipper.cpp b/src/video_core/clipper.cpp index ed99c4f13..5d609da06 100644 --- a/src/video_core/clipper.cpp +++ b/src/video_core/clipper.cpp | |||
| @@ -78,7 +78,7 @@ static void InitScreenCoordinates(OutputVertex& vtx) | |||
| 78 | vtx.screenpos[2] = viewport.offset_z + vtx.pos.z * inv_w * viewport.zscale; | 78 | vtx.screenpos[2] = viewport.offset_z + vtx.pos.z * inv_w * viewport.zscale; |
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | void ProcessTriangle(OutputVertex &v0, OutputVertex &v1, OutputVertex &v2) { | 81 | void ProcessTriangle(const OutputVertex &v0, const OutputVertex &v1, const OutputVertex &v2) { |
| 82 | using boost::container::static_vector; | 82 | using boost::container::static_vector; |
| 83 | 83 | ||
| 84 | // Clipping a planar n-gon against a plane will remove at least 1 vertex and introduces 2 at | 84 | // Clipping a planar n-gon against a plane will remove at least 1 vertex and introduces 2 at |