yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

gl_rasterizer: Fixup undefined behaviour in SetupDraw

This commit is contained in:
ReinUsesLisp 2018-10-06 23:22:48 -03:00
parent e6ee31a8e9
commit 0ecd181cca
1 changed files with 1 additions and 0 deletions

View File

@ -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() {