From 2b9d4088ecf153f06f668ed2aff8b730366a5391 Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Mon, 27 May 2019 19:38:32 -0300 Subject: gl_rasterizer: Make DrawParameters rasterizer instance const --- src/video_core/renderer_opengl/gl_rasterizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3