[cogl] pango: don't pass COGL_MATERIAL enums to pipeline api
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] pango: don't pass COGL_MATERIAL enums to pipeline api
- Date: Mon, 20 Feb 2012 23:26:45 +0000 (UTC)
commit ae78215443c10cdd7ddd38250933fbd803a5fa03
Author: Robert Bragg <robert linux intel com>
Date: Sat Feb 18 14:43:01 2012 +0000
pango: don't pass COGL_MATERIAL enums to pipeline api
This patch fixes a case in cogl-pango-pipeline-cache.c where we were
passing COGL_MATERIAL_WRAP_MODE_CLAMP_TO_EDGE to
cogl_pipelin_set_layer_wrap_mode and instead passes the equivalent
CoglPipelineWrapMode.
Reviewed-by: Neil Roberts <neil linux intel com>
cogl-pango/cogl-pango-pipeline-cache.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cogl-pango/cogl-pango-pipeline-cache.c b/cogl-pango/cogl-pango-pipeline-cache.c
index 6733282..3b9ad90 100644
--- a/cogl-pango/cogl-pango-pipeline-cache.c
+++ b/cogl-pango/cogl-pango-pipeline-cache.c
@@ -108,7 +108,7 @@ get_base_texture_rgba_pipeline (CoglPangoPipelineCache *cache)
pipeline = cache->base_texture_rgba_pipeline = cogl_pipeline_new ();
cogl_pipeline_set_layer_wrap_mode (pipeline, 0,
- COGL_MATERIAL_WRAP_MODE_CLAMP_TO_EDGE);
+ COGL_PIPELINE_WRAP_MODE_CLAMP_TO_EDGE);
if (cache->use_mipmapping)
cogl_pipeline_set_layer_filters
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]