yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

gl_state: Fixup multibind bug

This commit is contained in:
ReinUsesLisp 2019-02-26 13:37:08 -03:00
parent 49c6d21b31
commit bb3ab7d66c
1 changed files with 2 additions and 2 deletions

View File

@ -461,7 +461,7 @@ void OpenGLState::ApplyTextures() const {
if (has_delta) { if (has_delta) {
glBindTextures(static_cast<GLuint>(first), static_cast<GLsizei>(last - first + 1), 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) { if (has_delta) {
glBindSamplers(static_cast<GLuint>(first), static_cast<GLsizei>(last - first + 1), glBindSamplers(static_cast<GLuint>(first), static_cast<GLsizei>(last - first + 1),
samplers.data()); samplers.data() + first);
} }
} }