diff options
author | Ray Strode <rstrode@redhat.com> | 2016-01-12 17:35:06 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2016-01-12 17:35:06 -0500 |
commit | f19a275b44d84982828dfac64033e487130c2760 (patch) | |
tree | 0ba39a02dfe1de74e5683b18d1b7578607749bb5 /cogl/driver/gl/cogl-pipeline-fragend-fixed.c | |
parent | 3e72da3eb1260166a3d1709f6dd71db8b3a97625 (diff) | |
download | cogl-f19a275b44d84982828dfac64033e487130c2760.tar.gz |
drop support for GLESwip/rstrode/prepare-for-mutter-merge
Diffstat (limited to 'cogl/driver/gl/cogl-pipeline-fragend-fixed.c')
-rw-r--r-- | cogl/driver/gl/cogl-pipeline-fragend-fixed.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/cogl/driver/gl/cogl-pipeline-fragend-fixed.c b/cogl/driver/gl/cogl-pipeline-fragend-fixed.c index 55b09568..541c4259 100644 --- a/cogl/driver/gl/cogl-pipeline-fragend-fixed.c +++ b/cogl/driver/gl/cogl-pipeline-fragend-fixed.c @@ -390,22 +390,6 @@ _cogl_pipeline_fragend_fixed_end (CoglPipeline *pipeline, GE (ctx, glFogfv (GL_FOG_COLOR, fogColor)); - if (ctx->driver == COGL_DRIVER_GLES1) - switch (fog_state->mode) - { - case COGL_FOG_MODE_LINEAR: - gl_mode = GL_LINEAR; - break; - case COGL_FOG_MODE_EXPONENTIAL: - gl_mode = GL_EXP; - break; - case COGL_FOG_MODE_EXPONENTIAL_SQUARED: - gl_mode = GL_EXP2; - break; - } - /* TODO: support other modes for GLES2 */ - - /* NB: GLES doesn't have glFogi */ GE (ctx, glFogf (GL_FOG_MODE, gl_mode)); GE (ctx, glHint (GL_FOG_HINT, GL_NICEST)); |