mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-15 19:47:45 +00:00
gl_rasterizer: Make DrawParameters rasterizer instance const
This commit is contained in:
parent
2dfe9aa51e
commit
39b1990db1
1 changed files with 1 additions and 1 deletions
|
@ -655,7 +655,7 @@ void RasterizerOpenGL::DrawArrays() {
|
||||||
SetupVertexBuffer(vertex_array);
|
SetupVertexBuffer(vertex_array);
|
||||||
const GLintptr index_buffer_offset = SetupIndexBuffer();
|
const GLintptr index_buffer_offset = SetupIndexBuffer();
|
||||||
|
|
||||||
DrawParameters params = SetupDraw(index_buffer_offset);
|
const DrawParameters params = SetupDraw(index_buffer_offset);
|
||||||
texture_cache.GuardSamplers(true);
|
texture_cache.GuardSamplers(true);
|
||||||
SetupShaders(params.primitive_mode);
|
SetupShaders(params.primitive_mode);
|
||||||
texture_cache.GuardSamplers(false);
|
texture_cache.GuardSamplers(false);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue