Merge pull request #1454 from ReinUsesLisp/fixup-draw

gl_rasterizer: Fixup undefined behaviour in SetupDraw
pull/8/head
Mat M 6 years ago committed by GitHub
commit 72a804b149
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save