Browse Source
gl_state: Use std::array::fill instead of std::fill
Co-Authored-By: Mat M. <mathew1800@gmail.com>
pull/15/merge
Rodrigo Locatti
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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; |
|
|
|
|