keep alpha enabled

This commit is contained in:
Hannes Janetzek 2013-02-01 12:56:11 +01:00
parent 7124d07bbd
commit 76a4e529ae

View File

@ -87,7 +87,7 @@ public final class PolygonRenderer {
private static void fillPolygons(int zoom, float scale) {
/* draw to framebuffer */
glColorMask(true, true, true, false);
glColorMask(true, true, true, true);
/* do not modify stencil buffer */
glStencilMask(0);
@ -228,7 +228,7 @@ public final class PolygonRenderer {
// disable writes to stencil buffer
glStencilMask(0x00);
// enable writes to color buffer
glColorMask(true, true, true, false);
glColorMask(true, true, true, true);
}
// clip to tile region
glStencilFunc(GL_EQUAL, CLIP_BIT, CLIP_BIT);