diff options
author | bunnei <bunneidev@gmail.com> | 2018-11-24 05:56:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-24 05:56:57 +0100 |
commit | d01bf170c4200a595724d6d7227b76e92b832ad1 (patch) | |
tree | f7930e55974b6b41d326e7980e8d69bb247d4547 /src/video_core/renderer_opengl/gl_state.cpp | |
parent | Merge pull request #1785 from Tinob/master (diff) | |
parent | Removed pre 4.3 ARB extensions (diff) | |
download | yuzu-d01bf170c4200a595724d6d7227b76e92b832ad1.tar yuzu-d01bf170c4200a595724d6d7227b76e92b832ad1.tar.gz yuzu-d01bf170c4200a595724d6d7227b76e92b832ad1.tar.bz2 yuzu-d01bf170c4200a595724d6d7227b76e92b832ad1.tar.lz yuzu-d01bf170c4200a595724d6d7227b76e92b832ad1.tar.xz yuzu-d01bf170c4200a595724d6d7227b76e92b832ad1.tar.zst yuzu-d01bf170c4200a595724d6d7227b76e92b832ad1.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 41beb176d..934f4db78 100644 --- a/src/video_core/renderer_opengl/gl_state.cpp +++ b/src/video_core/renderer_opengl/gl_state.cpp @@ -362,14 +362,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); } } |