do not clear the stencil buffer

This commit is contained in:
Konstantin Käfer
2014-02-27 12:23:04 +01:00
parent 8d68bd73e7
commit 57dafc6d4c

View File

@@ -110,8 +110,7 @@ void Painter::finishClippingMask() {
}
void Painter::clear() {
glStencilMask(0xFF);
glClear(GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
glClear(GL_COLOR_BUFFER_BIT);
}
void Painter::render(const Tile::Ptr& tile) {