diff --git a/cogl/cogl-renderer.c b/cogl/cogl-renderer.c index 281780d1f..694ea5993 100644 --- a/cogl/cogl-renderer.c +++ b/cogl/cogl-renderer.c @@ -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, diff --git a/cogl/cogl-renderer.h b/cogl/cogl-renderer.h index b160738ce..06b0f5c19 100644 --- a/cogl/cogl-renderer.h +++ b/cogl/cogl-renderer.h @@ -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: