Skip to content
Snippets Groups Projects
Commit 0ecd181c authored by ReinUsesLisp's avatar ReinUsesLisp
Browse files

gl_rasterizer: Fixup undefined behaviour in SetupDraw

parent e6ee31a8
No related branches found
No related tags found
No related merge requests found
...@@ -252,6 +252,7 @@ DrawParameters RasterizerOpenGL::SetupDraw() { ...@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment