Use COGL_MATERIAL_WRAP_MODE_* defines not COGL_PIPELINE_*
Since we aren't depending on Clutter 1.5 or using the new CoglPipeline name elsewhere, we need to stick to the old COGL_MATERIAL_WRAP_MODE_* names, which are provided with compatibility defines in Clutter 1.4. Pointed out by Rico Tzschichholz
This commit is contained in:
parent
b1868fb213
commit
8817e68926
@ -68,9 +68,9 @@ update_wrap_mode (MetaBackgroundActor *self)
|
||||
* side of the image via bilinear filtering.
|
||||
*/
|
||||
if (width == self->texture_width && height == self->texture_height)
|
||||
wrap_mode = COGL_PIPELINE_WRAP_MODE_CLAMP_TO_EDGE;
|
||||
wrap_mode = COGL_MATERIAL_WRAP_MODE_CLAMP_TO_EDGE;
|
||||
else
|
||||
wrap_mode = COGL_PIPELINE_WRAP_MODE_REPEAT;
|
||||
wrap_mode = COGL_MATERIAL_WRAP_MODE_REPEAT;
|
||||
|
||||
cogl_material_set_layer_wrap_mode (self->material, 0, wrap_mode);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user