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:
parent
680f63a48c
commit
ae78215443
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user