summaryrefslogtreecommitdiff
path: root/src/video_core/clipper.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-12-06 19:06:12 -0800
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-12-07 20:20:38 -0800
commit195fedccf07b909c95e5905c7154c595bb260fc7 (patch)
treeb36ecb555672b6994e4bd11812a605fe2726d172 /src/video_core/clipper.h
parent03835d04f42fdcd480b5f5d909b5e5cd81ed62a0 (diff)
VideoCore: Unify interface to OpenGL and SW rasterizers
This removes explicit checks sprinkled all over the codebase to instead just have the SW rasterizer expose an implementation with no-ops for most operations.
Diffstat (limited to 'src/video_core/clipper.h')
-rw-r--r--src/video_core/clipper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/clipper.h b/src/video_core/clipper.h
index 6ed01e877..f85d8d4c9 100644
--- a/src/video_core/clipper.h
+++ b/src/video_core/clipper.h
@@ -14,7 +14,7 @@ namespace Clipper {
using Shader::OutputVertex;
-void ProcessTriangle(OutputVertex& v0, OutputVertex& v1, OutputVertex& v2);
+void ProcessTriangle(const OutputVertex& v0, const OutputVertex& v1, const OutputVertex& v2);
} // namespace