func useOp(glctx gl.Context, op draw.Op) { if op == draw.Over { glctx.Enable(gl.BLEND) glctx.BlendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA) } else { glctx.Disable(gl.BLEND) } }