summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-09-10 06:20:30 +0200
committerLioncash <mathew1800@gmail.com>2015-09-10 06:20:30 +0200
commit7b72b716050df7dbdfd8bf949fe7f1dfa737aed7 (patch)
tree932d094f461cbd4dae03d064ef9ed1b9c3f80591
parentMerge pull request #1020 from yuriks/qt-binaries (diff)
downloadyuzu-7b72b716050df7dbdfd8bf949fe7f1dfa737aed7.tar
yuzu-7b72b716050df7dbdfd8bf949fe7f1dfa737aed7.tar.gz
yuzu-7b72b716050df7dbdfd8bf949fe7f1dfa737aed7.tar.bz2
yuzu-7b72b716050df7dbdfd8bf949fe7f1dfa737aed7.tar.lz
yuzu-7b72b716050df7dbdfd8bf949fe7f1dfa737aed7.tar.xz
yuzu-7b72b716050df7dbdfd8bf949fe7f1dfa737aed7.tar.zst
yuzu-7b72b716050df7dbdfd8bf949fe7f1dfa737aed7.zip
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 0260a28ce..62ca18317 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -212,9 +212,9 @@ void RasterizerOpenGL::Reset() {
void RasterizerOpenGL::AddTriangle(const Pica::Shader::OutputVertex& v0,
const Pica::Shader::OutputVertex& v1,
const Pica::Shader::OutputVertex& v2) {
- vertex_batch.push_back(HardwareVertex(v0));
- vertex_batch.push_back(HardwareVertex(v1));
- vertex_batch.push_back(HardwareVertex(v2));
+ vertex_batch.emplace_back(v0);
+ vertex_batch.emplace_back(v1);
+ vertex_batch.emplace_back(v2);
}
void RasterizerOpenGL::DrawTriangles() {