From ee3aa0dc4daa2dcae44ad90f81bb4de37177a373 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 7 Feb 2021 22:05:46 +1000 Subject: [PATCH] OpenGLHostDisplay: Fix incorrect default for PBO streaming --- src/frontend-common/opengl_host_display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend-common/opengl_host_display.cpp b/src/frontend-common/opengl_host_display.cpp index 03e652d81..de0bd3eaa 100644 --- a/src/frontend-common/opengl_host_display.cpp +++ b/src/frontend-common/opengl_host_display.cpp @@ -397,7 +397,7 @@ bool OpenGLHostDisplay::InitializeRenderDevice(std::string_view shader_cache_dir glGetIntegerv(GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT, reinterpret_cast(&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...