diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-28 00:38:32 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-07-06 05:37:55 +0200 |
commit | 2b9d4088ecf153f06f668ed2aff8b730366a5391 (patch) | |
tree | 1983a4a43a6e0b680defbfa8b4b339e91e00f501 | |
parent | gl_rasterizer: Move index buffer uploading to its own method (diff) | |
download | yuzu-2b9d4088ecf153f06f668ed2aff8b730366a5391.tar yuzu-2b9d4088ecf153f06f668ed2aff8b730366a5391.tar.gz yuzu-2b9d4088ecf153f06f668ed2aff8b730366a5391.tar.bz2 yuzu-2b9d4088ecf153f06f668ed2aff8b730366a5391.tar.lz yuzu-2b9d4088ecf153f06f668ed2aff8b730366a5391.tar.xz yuzu-2b9d4088ecf153f06f668ed2aff8b730366a5391.tar.zst yuzu-2b9d4088ecf153f06f668ed2aff8b730366a5391.zip |
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index e89f96aec..6cab48329 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -655,7 +655,7 @@ void RasterizerOpenGL::DrawArrays() { SetupVertexBuffer(vertex_array); const GLintptr index_buffer_offset = SetupIndexBuffer(); - DrawParameters params = SetupDraw(index_buffer_offset); + const DrawParameters params = SetupDraw(index_buffer_offset); texture_cache.GuardSamplers(true); SetupShaders(params.primitive_mode); texture_cache.GuardSamplers(false); |