summaryrefslogtreecommitdiff
path: root/cogl/cogl-pipeline.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2016-01-12 17:35:06 -0500
committerRay Strode <rstrode@redhat.com>2016-01-12 17:35:06 -0500
commitf19a275b44d84982828dfac64033e487130c2760 (patch)
tree0ba39a02dfe1de74e5683b18d1b7578607749bb5 /cogl/cogl-pipeline.c
parent3e72da3eb1260166a3d1709f6dd71db8b3a97625 (diff)
downloadcogl-f19a275b44d84982828dfac64033e487130c2760.tar.gz
Diffstat (limited to 'cogl/cogl-pipeline.c')
-rw-r--r--cogl/cogl-pipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-pipeline.c b/cogl/cogl-pipeline.c
index b2fee10d..c9482757 100644
--- a/cogl/cogl-pipeline.c
+++ b/cogl/cogl-pipeline.c
@@ -209,7 +209,7 @@ _cogl_pipeline_init_default_pipeline (void)
alpha_state->alpha_func_reference = 0.0;
/* Not the same as the GL default, but seems saner... */
-#if defined(HAVE_COGL_GLES2) || defined(HAVE_COGL_GL)
+#if defined(HAVE_COGL_GL)
blend_state->blend_equation_rgb = GL_FUNC_ADD;
blend_state->blend_equation_alpha = GL_FUNC_ADD;
blend_state->blend_src_factor_alpha = GL_ONE;