mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 07:48:36 -05:00
gl_rasterizer: Make DrawParameters rasterizer instance const
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user