diff options
| author | bunnei <bunneidev@gmail.com> | 2019-03-04 13:51:59 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-04 13:51:59 -0500 |
| commit | 07e13d6728868e5cb91615bec3aa6dfe9ec62b7b (patch) | |
| tree | a3a8cd6d9b85a120b5356d8abea79c5c0d754d25 /src/video_core/renderer_opengl/gl_state.cpp | |
| parent | 6ad66acce23dd66013a72b5f900eacf948593413 (diff) | |
| parent | e85066dac79176092fcdade32f1378740dec39a8 (diff) | |
Merge pull request #2165 from ReinUsesLisp/unbind-tex
gl_rasterizer: Unbind textures but don't apply the gl_state
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.cpp')
| -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 { 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); } } |
