diff options
author | Subv <subv2112@gmail.com> | 2018-06-10 01:02:05 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-06-10 01:02:05 +0200 |
commit | 2a7653142dd8adeacafd8c90e64d52d6959f0aa7 (patch) | |
tree | 45507c03f0a4bfa0fb0dc9736fccd448bb9ea0df /src/video_core/renderer_opengl/gl_state.cpp | |
parent | Merge pull request #550 from Subv/ssy (diff) | |
download | yuzu-2a7653142dd8adeacafd8c90e64d52d6959f0aa7.tar yuzu-2a7653142dd8adeacafd8c90e64d52d6959f0aa7.tar.gz yuzu-2a7653142dd8adeacafd8c90e64d52d6959f0aa7.tar.bz2 yuzu-2a7653142dd8adeacafd8c90e64d52d6959f0aa7.tar.lz yuzu-2a7653142dd8adeacafd8c90e64d52d6959f0aa7.tar.xz yuzu-2a7653142dd8adeacafd8c90e64d52d6959f0aa7.tar.zst yuzu-2a7653142dd8adeacafd8c90e64d52d6959f0aa7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.cpp b/src/video_core/renderer_opengl/gl_state.cpp index 44f0c8a01..443ce3f2b 100644 --- a/src/video_core/renderer_opengl/gl_state.cpp +++ b/src/video_core/renderer_opengl/gl_state.cpp @@ -223,7 +223,7 @@ void OpenGLState::Apply() const { if (current.enabled != new_state.enabled || current.bindpoint != new_state.bindpoint || current.ssbo != new_state.ssbo) { if (new_state.enabled) { - glBindBufferBase(GL_SHADER_STORAGE_BUFFER, new_state.bindpoint, new_state.ssbo); + glBindBufferBase(GL_UNIFORM_BUFFER, new_state.bindpoint, new_state.ssbo); } } } |