diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2018-11-18 01:28:14 +0100 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2018-11-21 16:43:17 +0100 |
commit | 0368260c997f9c03aa280367c5cfd6e0e82b8c88 (patch) | |
tree | e6f13fc30ece1a7db3eac22cb990a20815c6c14f /src/video_core/renderer_opengl/gl_state.cpp | |
parent | Update OpenGL's backend version from 3.3 to 4.3 (diff) | |
download | yuzu-0368260c997f9c03aa280367c5cfd6e0e82b8c88.tar yuzu-0368260c997f9c03aa280367c5cfd6e0e82b8c88.tar.gz yuzu-0368260c997f9c03aa280367c5cfd6e0e82b8c88.tar.bz2 yuzu-0368260c997f9c03aa280367c5cfd6e0e82b8c88.tar.lz yuzu-0368260c997f9c03aa280367c5cfd6e0e82b8c88.tar.xz yuzu-0368260c997f9c03aa280367c5cfd6e0e82b8c88.tar.zst yuzu-0368260c997f9c03aa280367c5cfd6e0e82b8c88.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.cpp b/src/video_core/renderer_opengl/gl_state.cpp index d9910c6e8..9f96b2745 100644 --- a/src/video_core/renderer_opengl/gl_state.cpp +++ b/src/video_core/renderer_opengl/gl_state.cpp @@ -339,14 +339,14 @@ void OpenGLState::ApplyTargetBlending(std::size_t target, bool force) const { if (blend_changed || updated.src_rgb_func != current.src_rgb_func || updated.dst_rgb_func != current.dst_rgb_func || updated.src_a_func != current.src_a_func || updated.dst_a_func != current.dst_a_func) { - glBlendFuncSeparateiARB(static_cast<GLuint>(target), updated.src_rgb_func, - updated.dst_rgb_func, updated.src_a_func, updated.dst_a_func); + glBlendFuncSeparatei(static_cast<GLuint>(target), updated.src_rgb_func, + updated.dst_rgb_func, updated.src_a_func, updated.dst_a_func); } if (blend_changed || updated.rgb_equation != current.rgb_equation || updated.a_equation != current.a_equation) { - glBlendEquationSeparateiARB(static_cast<GLuint>(target), updated.rgb_equation, - updated.a_equation); + glBlendEquationSeparatei(static_cast<GLuint>(target), updated.rgb_equation, + updated.a_equation); } } |