mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-16 03:57:50 +00:00
gl_state: Fixup multibind bug
This commit is contained in:
parent
a3d1f9b0f8
commit
6c8e8383af
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue