summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2018-10-07 04:24:08 +0200
committerGitHub <noreply@github.com>2018-10-07 04:24:08 +0200
commit72a804b149d8b615f0b05b22086f0c7e214faddd (patch)
tree363da8be613e101e964d253460c10d5f1c60d804
parentMerge pull request #1452 from FearlessTobi/port-4313 (diff)
parentgl_rasterizer: Fixup undefined behaviour in SetupDraw (diff)
downloadyuzu-72a804b149d8b615f0b05b22086f0c7e214faddd.tar
yuzu-72a804b149d8b615f0b05b22086f0c7e214faddd.tar.gz
yuzu-72a804b149d8b615f0b05b22086f0c7e214faddd.tar.bz2
yuzu-72a804b149d8b615f0b05b22086f0c7e214faddd.tar.lz
yuzu-72a804b149d8b615f0b05b22086f0c7e214faddd.tar.xz
yuzu-72a804b149d8b615f0b05b22086f0c7e214faddd.tar.zst
yuzu-72a804b149d8b615f0b05b22086f0c7e214faddd.zip
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 60dcdc184..a91bc6dee 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -252,6 +252,7 @@ DrawParameters RasterizerOpenGL::SetupDraw() {
params.count = regs.vertex_buffer.count;
params.vertex_first = regs.vertex_buffer.first;
}
+ return params;
}
void RasterizerOpenGL::SetupShaders() {