keep alpha enabled
This commit is contained in:
parent
7124d07bbd
commit
76a4e529ae
@ -87,7 +87,7 @@ public final class PolygonRenderer {
|
|||||||
private static void fillPolygons(int zoom, float scale) {
|
private static void fillPolygons(int zoom, float scale) {
|
||||||
|
|
||||||
/* draw to framebuffer */
|
/* draw to framebuffer */
|
||||||
glColorMask(true, true, true, false);
|
glColorMask(true, true, true, true);
|
||||||
|
|
||||||
/* do not modify stencil buffer */
|
/* do not modify stencil buffer */
|
||||||
glStencilMask(0);
|
glStencilMask(0);
|
||||||
@ -228,7 +228,7 @@ public final class PolygonRenderer {
|
|||||||
// disable writes to stencil buffer
|
// disable writes to stencil buffer
|
||||||
glStencilMask(0x00);
|
glStencilMask(0x00);
|
||||||
// enable writes to color buffer
|
// enable writes to color buffer
|
||||||
glColorMask(true, true, true, false);
|
glColorMask(true, true, true, true);
|
||||||
}
|
}
|
||||||
// clip to tile region
|
// clip to tile region
|
||||||
glStencilFunc(GL_EQUAL, CLIP_BIT, CLIP_BIT);
|
glStencilFunc(GL_EQUAL, CLIP_BIT, CLIP_BIT);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user