diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-07-06 04:49:45 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-07-06 05:37:56 +0200 |
commit | f7691ebe57d083f12969b5e186154a301f7bfae1 (patch) | |
tree | 03f494770c8686d1dffd835f2cac88d92776f23f /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | gl_rasterizer: Minor style changes (diff) | |
download | yuzu-f7691ebe57d083f12969b5e186154a301f7bfae1.tar yuzu-f7691ebe57d083f12969b5e186154a301f7bfae1.tar.gz yuzu-f7691ebe57d083f12969b5e186154a301f7bfae1.tar.bz2 yuzu-f7691ebe57d083f12969b5e186154a301f7bfae1.tar.lz yuzu-f7691ebe57d083f12969b5e186154a301f7bfae1.tar.xz yuzu-f7691ebe57d083f12969b5e186154a301f7bfae1.tar.zst yuzu-f7691ebe57d083f12969b5e186154a301f7bfae1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index b8430f16d..0bb5c068c 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -788,7 +788,7 @@ void RasterizerOpenGL::SetupConstBuffer(const Tegra::Engines::ConstBufferInfo& b const GLShader::ConstBufferEntry& entry) { if (!buffer.enabled) { // Set values to zero to unbind buffers - bind_ubo_pushbuffer.Push(0, 0, 0); + bind_ubo_pushbuffer.Push(buffer_cache.GetEmptyBuffer(sizeof(float)), 0, sizeof(float)); return; } |