mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 22:05:38 +00:00
GPU/OpenGL: Use linear sampling for VRAM write replacement blit
This commit is contained in:
parent
d432accf81
commit
18df8d48e7
|
@ -769,7 +769,7 @@ bool GPU_HW_OpenGL::BlitVRAMReplacementTexture(const TextureReplacementTexture*
|
||||||
if (!m_vram_write_replacement_texture.IsValid())
|
if (!m_vram_write_replacement_texture.IsValid())
|
||||||
{
|
{
|
||||||
if (!m_vram_write_replacement_texture.Create(tex->GetWidth(), tex->GetHeight(), 1, GL_RGBA, GL_RGBA,
|
if (!m_vram_write_replacement_texture.Create(tex->GetWidth(), tex->GetHeight(), 1, GL_RGBA, GL_RGBA,
|
||||||
GL_UNSIGNED_BYTE, tex->GetPixels()) ||
|
GL_UNSIGNED_BYTE, tex->GetPixels(), true) ||
|
||||||
!m_vram_write_replacement_texture.CreateFramebuffer())
|
!m_vram_write_replacement_texture.CreateFramebuffer())
|
||||||
{
|
{
|
||||||
m_vram_write_replacement_texture.Destroy();
|
m_vram_write_replacement_texture.Destroy();
|
||||||
|
|
Loading…
Reference in a new issue