Port scanline algorithm from _getCoveringTiles()

fixes #22
This commit is contained in:
Konstantin Käfer
2014-03-04 14:50:17 +01:00
parent ed5e335da1
commit ba5070bf52
7 changed files with 133 additions and 32 deletions

View File

@@ -119,7 +119,6 @@ void Painter::drawClippingMask(const mat4& matrix, uint8_t clip_id) {
void Painter::finishClippingMask() {
glColorMask(true, true, true, true);
glEnable(GL_STENCIL_TEST);
glEnable(GL_DEPTH_TEST);
glStencilMask(0x0);
}