mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-15 20:10:05 +00:00
gl_rasterizer: Fixup undefined behaviour in SetupDraw
This commit is contained in:
parent
e6ee31a8e9
commit
0ecd181cca
@ -252,6 +252,7 @@ DrawParameters RasterizerOpenGL::SetupDraw() {
|
|||||||
params.count = regs.vertex_buffer.count;
|
params.count = regs.vertex_buffer.count;
|
||||||
params.vertex_first = regs.vertex_buffer.first;
|
params.vertex_first = regs.vertex_buffer.first;
|
||||||
}
|
}
|
||||||
|
return params;
|
||||||
}
|
}
|
||||||
|
|
||||||
void RasterizerOpenGL::SetupShaders() {
|
void RasterizerOpenGL::SetupShaders() {
|
||||||
|
Loading…
Reference in New Issue
Block a user