diff options
author | Mat M <mathew1800@gmail.com> | 2018-10-07 04:24:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-07 04:24:08 +0200 |
commit | 72a804b149d8b615f0b05b22086f0c7e214faddd (patch) | |
tree | 363da8be613e101e964d253460c10d5f1c60d804 /src | |
parent | Merge pull request #1452 from FearlessTobi/port-4313 (diff) | |
parent | gl_rasterizer: Fixup undefined behaviour in SetupDraw (diff) | |
download | yuzu-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 |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 1 |
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() { |