summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-02-26 17:37:08 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-02-28 04:17:03 +0100
commitbb3ab7d66c9fb6c5e74da3210176c3d21ac40c62 (patch)
tree317fc2566eb0bb8ed10c980aba427756e645c1ea /src/video_core
parentMerge pull request #2174 from lioncash/fwd (diff)
downloadyuzu-bb3ab7d66c9fb6c5e74da3210176c3d21ac40c62.tar
yuzu-bb3ab7d66c9fb6c5e74da3210176c3d21ac40c62.tar.gz
yuzu-bb3ab7d66c9fb6c5e74da3210176c3d21ac40c62.tar.bz2
yuzu-bb3ab7d66c9fb6c5e74da3210176c3d21ac40c62.tar.lz
yuzu-bb3ab7d66c9fb6c5e74da3210176c3d21ac40c62.tar.xz
yuzu-bb3ab7d66c9fb6c5e74da3210176c3d21ac40c62.tar.zst
yuzu-bb3ab7d66c9fb6c5e74da3210176c3d21ac40c62.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.cpp b/src/video_core/renderer_opengl/gl_state.cpp
index 219f08053..9419326a3 100644
--- a/src/video_core/renderer_opengl/gl_state.cpp
+++ b/src/video_core/renderer_opengl/gl_state.cpp
@@ -461,7 +461,7 @@ void OpenGLState::ApplyTextures() const {
if (has_delta) {
glBindTextures(static_cast<GLuint>(first), static_cast<GLsizei>(last - first + 1),
- textures.data());
+ textures.data() + first);
}
}
@@ -482,7 +482,7 @@ void OpenGLState::ApplySamplers() const {
}
if (has_delta) {
glBindSamplers(static_cast<GLuint>(first), static_cast<GLsizei>(last - first + 1),
- samplers.data());
+ samplers.data() + first);
}
}