diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-07-15 16:24:01 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-07-17 23:29:55 +0200 |
commit | 5ad889f6fdb4a2d331e8e80e82fef8b8d582d7f7 (patch) | |
tree | 5307536ff8d048f313c4cfa5668e62bcdb546b20 /src/video_core/renderer_opengl/gl_state.cpp | |
parent | Texture_Cache: Rebase Fixes (diff) | |
download | yuzu-5ad889f6fdb4a2d331e8e80e82fef8b8d582d7f7.tar yuzu-5ad889f6fdb4a2d331e8e80e82fef8b8d582d7f7.tar.gz yuzu-5ad889f6fdb4a2d331e8e80e82fef8b8d582d7f7.tar.bz2 yuzu-5ad889f6fdb4a2d331e8e80e82fef8b8d582d7f7.tar.lz yuzu-5ad889f6fdb4a2d331e8e80e82fef8b8d582d7f7.tar.xz yuzu-5ad889f6fdb4a2d331e8e80e82fef8b8d582d7f7.tar.zst yuzu-5ad889f6fdb4a2d331e8e80e82fef8b8d582d7f7.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.cpp b/src/video_core/renderer_opengl/gl_state.cpp index 8d62045b0..f4777d0b0 100644 --- a/src/video_core/renderer_opengl/gl_state.cpp +++ b/src/video_core/renderer_opengl/gl_state.cpp @@ -165,7 +165,7 @@ OpenGLState::OpenGLState() { alpha_test.ref = 0.0f; } -void OpenGLState::DefaultViewports() { +void OpenGLState::SetDefaultViewports() { for (auto& item : viewports) { item.x = 0; item.y = 0; @@ -182,7 +182,6 @@ void OpenGLState::DefaultViewports() { depth_clamp.far_plane = false; depth_clamp.near_plane = false; - } void OpenGLState::ApplyDefaultState() { |