gl.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE);
} else if(drawingMode == DrawingMode.MULTIPLY) {
if(isGlExtBlendSubtractSupported) {
gl.glBlendEquation(GL.GL_FUNC_ADD);
}
gl.glBlendFunc(GL.GL_DST_COLOR, GL.GL_ZERO);
} else if(drawingMode == DrawingMode.OVERWRITE) {
if(isGlExtBlendSubtractSupported) {
gl.glBlendEquation(GL.GL_FUNC_ADD);
}
gl.glBlendFunc(GL.GL_ONE, GL.GL_ZERO);