mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
renderer: fix s/contraint/constraint/ typo
The recent patch to add an api for explicitly constraining how a renderer backend is chosen had a typo which this patch fixes. Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
parent
161fad2860
commit
6b7af18313
@ -489,8 +489,8 @@ cogl_renderer_get_n_fragment_texture_units (CoglRenderer *renderer)
|
||||
}
|
||||
|
||||
void
|
||||
cogl_renderer_add_contraint (CoglRenderer *renderer,
|
||||
CoglRendererConstraint constraint)
|
||||
cogl_renderer_add_constraint (CoglRenderer *renderer,
|
||||
CoglRendererConstraint constraint)
|
||||
{
|
||||
g_return_if_fail (!renderer->connected);
|
||||
renderer->constraints = g_list_prepend (renderer->constraints,
|
||||
|
@ -286,7 +286,7 @@ typedef enum
|
||||
|
||||
|
||||
/**
|
||||
* cogl_renderer_add_contraint:
|
||||
* cogl_renderer_add_constraint:
|
||||
* @renderer: An unconnected #CoglRenderer
|
||||
* @constraint: A #CoglRendererConstraint to add
|
||||
*
|
||||
@ -299,8 +299,8 @@ typedef enum
|
||||
* Stability: unstable
|
||||
*/
|
||||
void
|
||||
cogl_renderer_add_contraint (CoglRenderer *renderer,
|
||||
CoglRendererConstraint constraint);
|
||||
cogl_renderer_add_constraint (CoglRenderer *renderer,
|
||||
CoglRendererConstraint constraint);
|
||||
|
||||
/**
|
||||
* cogl_renderer_remove_constraint:
|
||||
|
Loading…
Reference in New Issue
Block a user