From 9b8f5d3be1d25a0eefe7f9f22544d439f54d92b1 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 14 Dec 2015 15:50:42 -0800 Subject: [PATCH] [core] Fix another place GL state was required but not set --- src/mbgl/renderer/painter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mbgl/renderer/painter.cpp b/src/mbgl/renderer/painter.cpp index 261cd895a..f9d327079 100644 --- a/src/mbgl/renderer/painter.cpp +++ b/src/mbgl/renderer/painter.cpp @@ -131,6 +131,7 @@ void Painter::render(const Style& style, const FrameData& frame_, SpriteAtlas& a config.stencilMask = 0xFF; config.depthTest = GL_FALSE; config.depthMask = GL_TRUE; + config.colorMask = { GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE }; config.clearColor = { background[0], background[1], background[2], background[3] }; config.clearStencil = 0; config.clearDepth = 1;