OpenGLHostDisplay: Fix incorrect default for PBO streaming

This commit is contained in:
Connor McLaughlin 2021-02-07 22:05:46 +10:00
parent d356b95819
commit ee3aa0dc4d
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ bool OpenGLHostDisplay::InitializeRenderDevice(std::string_view shader_cache_dir
glGetIntegerv(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT, reinterpret_cast<GLint*>(&m_uniform_buffer_alignment));
// Doubt GLES2 drivers will support PBOs efficiently.
m_use_pbo_for_pixels = m_use_gles2_draw_path;
m_use_pbo_for_pixels = !m_use_gles2_draw_path;
if (m_gl_context->IsGLES())
{
// Adreno seems to corrupt textures through PBOs...