[core] Reset GL values when needed
This commit is contained in:
@@ -36,7 +36,9 @@ void Painter::renderFill(FillBucket& bucket, const FillLayer& layer, const TileI
|
||||
bool outline = properties.antialias && !pattern && stroke_color != fill_color;
|
||||
bool fringeline = properties.antialias && !pattern && stroke_color == fill_color;
|
||||
|
||||
config.stencilOp.reset();
|
||||
config.stencilTest = GL_TRUE;
|
||||
config.depthFunc.reset();
|
||||
config.depthTest = GL_TRUE;
|
||||
|
||||
// Because we're drawing top-to-bottom, and we update the stencil mask
|
||||
|
||||
Reference in New Issue
Block a user