yuzu-emu
/
yuzu
Archived
1
0
Fork 0

gl_rasterizer: Make DrawParameters rasterizer instance const

This commit is contained in:
ReinUsesLisp 2019-05-27 19:38:32 -03:00
parent 2e39c20da5
commit 2b9d4088ec
1 changed files with 1 additions and 1 deletions

View File

@ -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);