[core] Fix another place GL state was required but not set

This commit is contained in:
John Firebaugh
2015-12-14 15:50:42 -08:00
parent d2d722a575
commit 9b8f5d3be1

View File

@@ -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;