mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
[Cogl] Renames cogl_fog_set to cogl_set_fog for consistency
More things follow the <object>_set_<property> convention.
This commit is contained in:
parent
acdc36a7c5
commit
06bfc00fbc
10
cogl.h.in
10
cogl.h.in
@ -408,7 +408,7 @@ void cogl_enable_depth_test (gboolean setting);
|
|||||||
void cogl_enable_backface_culling (gboolean setting);
|
void cogl_enable_backface_culling (gboolean setting);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* cogl_fog_set:
|
* cogl_set_fog:
|
||||||
* @fog_color: The color of the fog
|
* @fog_color: The color of the fog
|
||||||
* @density: Ignored
|
* @density: Ignored
|
||||||
* @z_near: Position along z-axis where no fogging should be applied
|
* @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
|
* with @fog_color. Fogging will remain enabled until the next call to
|
||||||
* cogl_paint_init().
|
* cogl_paint_init().
|
||||||
*/
|
*/
|
||||||
void cogl_fog_set (const CoglColor *fog_color,
|
void cogl_set_fog (const CoglColor *fog_color,
|
||||||
float density,
|
float density,
|
||||||
float z_near,
|
float z_near,
|
||||||
float z_far);
|
float z_far);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* cogl_paint_init:
|
* cogl_paint_init:
|
||||||
|
@ -1173,10 +1173,10 @@ cogl_get_bitmasks (gint *red, gint *green, gint *blue, gint *alpha)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
cogl_fog_set (const CoglColor *fog_color,
|
cogl_set_fog (const CoglColor *fog_color,
|
||||||
float density,
|
float density,
|
||||||
float z_near,
|
float z_near,
|
||||||
float z_far)
|
float z_far)
|
||||||
{
|
{
|
||||||
GLfloat fogColor[4];
|
GLfloat fogColor[4];
|
||||||
|
|
||||||
|
@ -736,10 +736,10 @@ cogl_get_bitmasks (gint *red, gint *green, gint *blue, gint *alpha)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
cogl_fog_set (const CoglColor *fog_color,
|
cogl_set_fog (const CoglColor *fog_color,
|
||||||
float density,
|
float density,
|
||||||
float z_near,
|
float z_near,
|
||||||
float z_far)
|
float z_far)
|
||||||
{
|
{
|
||||||
GLfloat fogColor[4];
|
GLfloat fogColor[4];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user