diff --git a/clutter/clutter-stage.c b/clutter/clutter-stage.c index 3e38fe637..9e3c1b725 100644 --- a/clutter/clutter-stage.c +++ b/clutter/clutter-stage.c @@ -226,7 +226,7 @@ clutter_stage_paint (ClutterActor *self) if (priv->use_fog) { - cogl_fog_set (&stage_color, + cogl_set_fog (&stage_color, priv->fog.density, priv->fog.z_near, priv->fog.z_far); diff --git a/clutter/cogl/cogl.h.in b/clutter/cogl/cogl.h.in index 912fffe7d..988119dfd 100644 --- a/clutter/cogl/cogl.h.in +++ b/clutter/cogl/cogl.h.in @@ -408,7 +408,7 @@ void cogl_enable_depth_test (gboolean setting); void cogl_enable_backface_culling (gboolean setting); /** - * cogl_fog_set: + * cogl_set_fog: * @fog_color: The color of the fog * @density: Ignored * @z_near: Position along z-axis where no fogging should be applied @@ -421,10 +421,10 @@ void cogl_enable_backface_culling (gboolean setting); * with @fog_color. Fogging will remain enabled until the next call to * cogl_paint_init(). */ -void cogl_fog_set (const CoglColor *fog_color, - float density, - float z_near, - float z_far); +void cogl_set_fog (const CoglColor *fog_color, + float density, + float z_near, + float z_far); /** * cogl_paint_init: diff --git a/clutter/cogl/gl/cogl.c b/clutter/cogl/gl/cogl.c index 1f16a449f..b42b6ae42 100644 --- a/clutter/cogl/gl/cogl.c +++ b/clutter/cogl/gl/cogl.c @@ -1173,10 +1173,10 @@ cogl_get_bitmasks (gint *red, gint *green, gint *blue, gint *alpha) } void -cogl_fog_set (const CoglColor *fog_color, - float density, - float z_near, - float z_far) +cogl_set_fog (const CoglColor *fog_color, + float density, + float z_near, + float z_far) { GLfloat fogColor[4]; diff --git a/clutter/cogl/gles/cogl.c b/clutter/cogl/gles/cogl.c index cb2d5ee02..56b2538ca 100644 --- a/clutter/cogl/gles/cogl.c +++ b/clutter/cogl/gles/cogl.c @@ -736,10 +736,10 @@ cogl_get_bitmasks (gint *red, gint *green, gint *blue, gint *alpha) } void -cogl_fog_set (const CoglColor *fog_color, - float density, - float z_near, - float z_far) +cogl_set_fog (const CoglColor *fog_color, + float density, + float z_near, + float z_far) { GLfloat fogColor[4];