mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
Merge pull request #1454 from ReinUsesLisp/fixup-draw
gl_rasterizer: Fixup undefined behaviour in SetupDraw
This commit is contained in:
commit
72a804b149
|
@ -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 a new issue