summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2019-10-30 02:30:31 +0100
committerGitHub <noreply@github.com>2019-10-30 02:30:31 +0100
commit3d0cde6a756a43902e58d8493228d7c18767e884 (patch)
tree2633bc00ebe517a2b9a99186a11fd3335bc161fc /src
parentgl_state: Move dirty checks to individual apply calls instead of Apply (diff)
downloadyuzu-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
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_state.cpp2
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;