diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2019-10-30 02:30:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-30 02:30:31 +0100 |
commit | 3d0cde6a756a43902e58d8493228d7c18767e884 (patch) | |
tree | 2633bc00ebe517a2b9a99186a11fd3335bc161fc | |
parent | gl_state: Move dirty checks to individual apply calls instead of Apply (diff) | |
download | yuzu-3d0cde6a756a43902e58d8493228d7c18767e884.tar yuzu-3d0cde6a756a43902e58d8493228d7c18767e884.tar.gz yuzu-3d0cde6a756a43902e58d8493228d7c18767e884.tar.bz2 yuzu-3d0cde6a756a43902e58d8493228d7c18767e884.tar.lz yuzu-3d0cde6a756a43902e58d8493228d7c18767e884.tar.xz yuzu-3d0cde6a756a43902e58d8493228d7c18767e884.tar.zst yuzu-3d0cde6a756a43902e58d8493228d7c18767e884.zip |
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.cpp b/src/video_core/renderer_opengl/gl_state.cpp index c431a8635..f25148362 100644 --- a/src/video_core/renderer_opengl/gl_state.cpp +++ b/src/video_core/renderer_opengl/gl_state.cpp @@ -86,7 +86,7 @@ void Enable(GLenum cap, GLuint index, bool& current_value, bool new_value) { OpenGLState::OpenGLState() = default; void OpenGLState::SetDefaultViewports() { - std::fill(std::begin(viewports), std::end(viewports), Viewport{}); + viewports.fill(Viewport{}); depth_clamp.far_plane = false; depth_clamp.near_plane = false; |