[cogl] renderer: fix s/contraint/constraint/ typo
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] renderer: fix s/contraint/constraint/ typo
- Date: Wed, 8 Feb 2012 17:02:23 +0000 (UTC)
commit 6b7af18313840bd74d11b51f4dea80c72c8830f6
Author: Robert Bragg <robert linux intel com>
Date: Tue Jan 17 14:49:28 2012 +0000
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>
cogl/cogl-renderer.c | 4 ++--
cogl/cogl-renderer.h | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/cogl/cogl-renderer.c b/cogl/cogl-renderer.c
index 281780d..694ea59 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 b160738..06b0f5c 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]