diff options
| author | Subv <subv2112@gmail.com> | 2018-06-08 17:05:52 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2018-06-08 17:05:52 -0500 |
| commit | c011b6f67e909cffe6496bc07d3359b5b74b1d63 (patch) | |
| tree | 7a0b9eec6e73ffb8bdf5a39a79d729534313ed4e /src/video_core/renderer_opengl/gl_rasterizer.h | |
| parent | c712dafaeee1a6deff1a6bb80650d14109c89fb9 (diff) | |
GPU: Synchronize the blend state on every draw call.
Only independent blending on render target 0 is implemented for now.
This fixes the elongated squids in Splatoon 2's boot screen.
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index d3f0558ed..b7c8cf843 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -121,14 +121,8 @@ private: /// Syncs the depth offset to match the guest state void SyncDepthOffset(); - /// Syncs the blend enabled status to match the guest state - void SyncBlendEnabled(); - - /// Syncs the blend functions to match the guest state - void SyncBlendFuncs(); - - /// Syncs the blend color to match the guest state - void SyncBlendColor(); + /// Syncs the blend state to match the guest state + void SyncBlendState(); bool has_ARB_buffer_storage; bool has_ARB_direct_state_access; |
