summaryrefslogtreecommitdiffstats
path: root/cc/gl_renderer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/gl_renderer.cc')
-rw-r--r--cc/gl_renderer.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/gl_renderer.cc b/cc/gl_renderer.cc
index 9fa72f2..e02eb4b 100644
--- a/cc/gl_renderer.cc
+++ b/cc/gl_renderer.cc
@@ -129,6 +129,9 @@ bool GLRenderer::initialize()
GLC(m_context, m_context->getIntegerv(GL_MAX_TEXTURE_SIZE, &m_capabilities.maxTextureSize));
m_capabilities.bestTextureFormat = PlatformColor::bestTextureFormat(m_context, extensions.count("GL_EXT_texture_format_BGRA8888"));
+ // The updater can access textures while the GLRenderer is using them.
+ m_capabilities.allowPartialTextureUpdates = true;
+
m_isUsingBindUniform = extensions.count("GL_CHROMIUM_bind_uniform_location");
// Make sure scissoring starts as disabled.