mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-02-16 19:05:39 +00:00
GPU/OpenGL: Also disable texture buffer for ANGLE
Hopefully resolves issues with Exynos S22+.
This commit is contained in:
parent
bfafa95f65
commit
cac2714555
|
@ -327,6 +327,10 @@ void GPU_HW_OpenGL::SetCapabilities()
|
||||||
m_use_texture_buffer_for_vram_writes = false;
|
m_use_texture_buffer_for_vram_writes = false;
|
||||||
#else
|
#else
|
||||||
m_use_texture_buffer_for_vram_writes = (GLAD_GL_VERSION_3_1 || GLAD_GL_ES_VERSION_3_2);
|
m_use_texture_buffer_for_vram_writes = (GLAD_GL_VERSION_3_1 || GLAD_GL_ES_VERSION_3_2);
|
||||||
|
|
||||||
|
// And Samsung's ANGLE/GLES driver?
|
||||||
|
if (std::strstr(reinterpret_cast<const char*>(glGetString(GL_RENDERER)), "ANGLE"))
|
||||||
|
m_use_texture_buffer_for_vram_writes = false;
|
||||||
#endif
|
#endif
|
||||||
m_texture_stream_buffer_size = VRAM_UPDATE_TEXTURE_BUFFER_SIZE;
|
m_texture_stream_buffer_size = VRAM_UPDATE_TEXTURE_BUFFER_SIZE;
|
||||||
if (m_use_texture_buffer_for_vram_writes)
|
if (m_use_texture_buffer_for_vram_writes)
|
||||||
|
|
Loading…
Reference in a new issue