[clutter/clutter-1.16] paint-nodes: Use the correct wrap mode for TextureNode
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/clutter-1.16] paint-nodes: Use the correct wrap mode for TextureNode
- Date: Thu, 4 Jul 2013 15:35:27 +0000 (UTC)
commit 5b614cda1cd6032d7a0b1d9823219bc336086246
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Jul 4 16:32:58 2013 +0100
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>
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 506e459..a03a0cb 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);
}
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]