mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
GPU/OpenGL: Fix edge blending when texture filtering
This commit is contained in:
parent
ad6a4d4ec0
commit
6ddf6784ab
|
@ -588,7 +588,8 @@ void GPU_HW_OpenGL::DrawBatchVertices(BatchRenderMode render_mode, u32 base_vert
|
|||
|
||||
void GPU_HW_OpenGL::SetBlendMode()
|
||||
{
|
||||
if (m_current_transparency_mode == TransparencyMode::Disabled || m_current_render_mode == BatchRenderMode::OnlyOpaque)
|
||||
if (m_texture_filtering == GPUTextureFilter::Nearest && (m_current_transparency_mode == TransparencyMode::Disabled ||
|
||||
m_current_render_mode == BatchRenderMode::OnlyOpaque))
|
||||
{
|
||||
glDisable(GL_BLEND);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue