mirror of
https://github.com/holub/mame
synced 2025-07-02 16:49:22 +03:00
ATTN: Ryan, please check. This is flag that causes BGFX looked worst then others (nw)
This commit is contained in:
parent
2bd758d393
commit
88e84e7c52
@ -31,7 +31,7 @@ bgfx_target::bgfx_target(std::string name, bgfx::TextureFormat::Enum format, uin
|
||||
m_width *= m_scale;
|
||||
m_height *= m_scale;
|
||||
uint32_t wrap_mode = BGFX_TEXTURE_U_CLAMP | BGFX_TEXTURE_V_CLAMP;
|
||||
uint32_t filter_mode = filter ? (BGFX_TEXTURE_MIN_ANISOTROPIC | BGFX_TEXTURE_MAG_ANISOTROPIC) : (BGFX_TEXTURE_MIN_POINT | BGFX_TEXTURE_MAG_POINT | BGFX_TEXTURE_MIP_POINT);
|
||||
uint32_t filter_mode = filter ? (BGFX_TEXTURE_MIN_ANISOTROPIC | BGFX_TEXTURE_MAG_ANISOTROPIC) : (BGFX_TEXTURE_MIN_POINT | BGFX_TEXTURE_MAG_ANISOTROPIC | BGFX_TEXTURE_MIP_POINT);
|
||||
|
||||
m_textures = new bgfx::TextureHandle[m_page_count];
|
||||
m_targets = new bgfx::FrameBufferHandle[m_page_count];
|
||||
|
Loading…
Reference in New Issue
Block a user