diff options
| -rw-r--r-- | src/video_core/renderer_opengl/gl_state.cpp | 4 |
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 { | |||
| 461 | 461 | ||
| 462 | if (has_delta) { | 462 | if (has_delta) { |
| 463 | glBindTextures(static_cast<GLuint>(first), static_cast<GLsizei>(last - first + 1), | 463 | glBindTextures(static_cast<GLuint>(first), static_cast<GLsizei>(last - first + 1), |
| 464 | textures.data()); | 464 | textures.data() + first); |
| 465 | } | 465 | } |
| 466 | } | 466 | } |
| 467 | 467 | ||
| @@ -482,7 +482,7 @@ void OpenGLState::ApplySamplers() const { | |||
| 482 | } | 482 | } |
| 483 | if (has_delta) { | 483 | if (has_delta) { |
| 484 | glBindSamplers(static_cast<GLuint>(first), static_cast<GLsizei>(last - first + 1), | 484 | glBindSamplers(static_cast<GLuint>(first), static_cast<GLsizei>(last - first + 1), |
| 485 | samplers.data()); | 485 | samplers.data() + first); |
| 486 | } | 486 | } |
| 487 | } | 487 | } |
| 488 | 488 | ||