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>
This commit is contained in:
Robert Bragg 2012-02-18 14:43:01 +00:00
parent 680f63a48c
commit ae78215443

View File

@ -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