mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 22:05:38 +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;
|
||||
#else
|
||||
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
|
||||
m_texture_stream_buffer_size = VRAM_UPDATE_TEXTURE_BUFFER_SIZE;
|
||||
if (m_use_texture_buffer_for_vram_writes)
|
||||
|
|
Loading…
Reference in a new issue