diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-25 04:50:21 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-03-27 03:17:00 +0200 |
commit | d89bfec5f55854daa1ff717e4a5f721bfa08a541 (patch) | |
tree | b8bdaa18edcf182d09194b1799b1c40387b1a76f /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | gl_rasterizer: Use passthrough shader for SetupVertexShader. (diff) | |
download | yuzu-d89bfec5f55854daa1ff717e4a5f721bfa08a541.tar yuzu-d89bfec5f55854daa1ff717e4a5f721bfa08a541.tar.gz yuzu-d89bfec5f55854daa1ff717e4a5f721bfa08a541.tar.bz2 yuzu-d89bfec5f55854daa1ff717e4a5f721bfa08a541.tar.lz yuzu-d89bfec5f55854daa1ff717e4a5f721bfa08a541.tar.xz yuzu-d89bfec5f55854daa1ff717e4a5f721bfa08a541.tar.zst yuzu-d89bfec5f55854daa1ff717e4a5f721bfa08a541.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 630b46737..dfc4beb9a 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -212,12 +212,12 @@ bool RasterizerOpenGL::AccelerateDrawBatch(bool is_indexed) { } accelerate_draw = is_indexed ? AccelDraw::Indexed : AccelDraw::Arrays; - DrawTriangles(); + DrawArrays(); return true; } -void RasterizerOpenGL::DrawTriangles() { +void RasterizerOpenGL::DrawArrays() { if (accelerate_draw == AccelDraw::Disabled) return; |