diff options
author | 2022-06-06 13:10:17 +1000 | |
---|---|---|
committer | 2022-06-06 13:10:17 +1000 | |
commit | 4a587fd7c1c512649320929f5e1fc3d44cc9c979 (patch) | |
tree | 197ac68c0cdec7c93a23181ffe8ac9394c03176a /src/osd/modules | |
parent | 536755e38023ed87734c6423de6ef78d5dcbb0bc (diff) |
bgfx: Honour antialias flag on textured quad primitives (fixes MT08340).
Diffstat (limited to 'src/osd/modules')
-rw-r--r-- | src/osd/modules/render/drawbgfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/render/drawbgfx.cpp b/src/osd/modules/render/drawbgfx.cpp index 07570882ec0..1806d749d66 100644 --- a/src/osd/modules/render/drawbgfx.cpp +++ b/src/osd/modules/render/drawbgfx.cpp @@ -605,7 +605,7 @@ void renderer_bgfx::render_textured_quad(render_primitive* prim, bgfx::Transient uint32_t texture_flags = 0U; if (!PRIMFLAG_GET_TEXWRAP(prim->flags)) texture_flags |= BGFX_SAMPLER_U_CLAMP | BGFX_SAMPLER_V_CLAMP; - if (video_config.filter == 0) + if (!PRIMFLAG_GET_ANTIALIAS(prim->flags)) texture_flags |= BGFX_SAMPLER_MIN_POINT | BGFX_SAMPLER_MAG_POINT | BGFX_SAMPLER_MIP_POINT; const bool is_screen = PRIMFLAG_GET_SCREENTEX(prim->flags); |