diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2013-07-04 16:32:58 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2013-11-20 23:20:11 +0000 |
commit | 48d8e1d48e0f77cec1a30423cdca4450b82b9d69 (patch) | |
tree | 8a9f64dde5ca3372105608671da222bf6374680b | |
parent | fe991ac7c0e257e19d34aa3b9800323aa828970a (diff) | |
download | clutter-48d8e1d48e0f77cec1a30423cdca4450b82b9d69.tar.gz |
paint-nodes: Use the correct wrap mode for TextureNode
If we allow content repeats on the texture nodes, then we need to use
the "automatic" wrap mode for the texture layer in the pipeline, instead
of the clamp-to-edge one.
Reported-by: Matthew Watson <matthew@endlessm.com>
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
(cherry picked from commit 5b614cda1cd6032d7a0b1d9823219bc336086246)
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
-rw-r--r-- | clutter/clutter-paint-nodes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/clutter-paint-nodes.c b/clutter/clutter-paint-nodes.c index 506e459b8..a03a0cb0f 100644 --- a/clutter/clutter-paint-nodes.c +++ b/clutter/clutter-paint-nodes.c @@ -81,7 +81,7 @@ _clutter_paint_node_init_types (void) COGL_TEXTURE_TYPE_2D); cogl_pipeline_set_color (default_texture_pipeline, &cogl_color); cogl_pipeline_set_layer_wrap_mode (default_texture_pipeline, 0, - COGL_PIPELINE_WRAP_MODE_CLAMP_TO_EDGE); + COGL_PIPELINE_WRAP_MODE_AUTOMATIC); } /* |