diff options
author | Lioncash <mathew1800@gmail.com> | 2015-09-10 06:20:30 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-09-10 06:20:30 +0200 |
commit | 7b72b716050df7dbdfd8bf949fe7f1dfa737aed7 (patch) | |
tree | 932d094f461cbd4dae03d064ef9ed1b9c3f80591 /src | |
parent | Merge pull request #1020 from yuriks/qt-binaries (diff) | |
download | yuzu-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 |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 6 |
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() { |