summaryrefslogtreecommitdiffstats
path: root/src/video_core/rasterizer.cpp
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2015-01-01 19:59:11 +0100
committerTony Wasserka <NeoBrainX@gmail.com>2015-02-18 14:50:28 +0100
commit8bd7a896ea82b5b2f4ff7f2ec50624ff6ec45431 (patch)
tree69a6ff08e515a692d42dc403c11cbf17e12def0b /src/video_core/rasterizer.cpp
parentPica/OutputMerger: Implement color format checking. (diff)
downloadyuzu-8bd7a896ea82b5b2f4ff7f2ec50624ff6ec45431.tar
yuzu-8bd7a896ea82b5b2f4ff7f2ec50624ff6ec45431.tar.gz
yuzu-8bd7a896ea82b5b2f4ff7f2ec50624ff6ec45431.tar.bz2
yuzu-8bd7a896ea82b5b2f4ff7f2ec50624ff6ec45431.tar.lz
yuzu-8bd7a896ea82b5b2f4ff7f2ec50624ff6ec45431.tar.xz
yuzu-8bd7a896ea82b5b2f4ff7f2ec50624ff6ec45431.tar.zst
yuzu-8bd7a896ea82b5b2f4ff7f2ec50624ff6ec45431.zip
Diffstat (limited to '')
-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 27eeb531d..65dddb47c 100644
--- a/src/video_core/rasterizer.cpp
+++ b/src/video_core/rasterizer.cpp
@@ -243,7 +243,7 @@ static void ProcessTriangleInternal(const VertexShader::OutputVertex& v0,
int s = (int)(uv[i].u() * float24::FromFloat32(static_cast<float>(texture.config.width))).ToFloat32();
int t = (int)(uv[i].v() * float24::FromFloat32(static_cast<float>(texture.config.height))).ToFloat32();
- auto GetWrappedTexCoord = [](Regs::TextureConfig::WrapMode mode, int val, unsigned size) {
+ static auto GetWrappedTexCoord = [](Regs::TextureConfig::WrapMode mode, int val, unsigned size) {
switch (mode) {
case Regs::TextureConfig::ClampToEdge:
val = std::max(val, 0);