projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75e6560
)
paint-node: Make texture template pipeline clamp to edge
author
Emmanuele Bassi
<ebassi@linux.intel.com>
Mon, 12 Mar 2012 15:52:55 +0000
(15:52 +0000)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Fri, 16 Mar 2012 12:33:39 +0000
(12:33 +0000)
It's safer, and consistent with the rest of Clutter, to make sure that
the template pipeline we use for ClutterTextureNode has its wrap mode
set to clamp-to-edge.
clutter/clutter-paint-nodes.c
patch
|
blob
|
history
diff --git
a/clutter/clutter-paint-nodes.c
b/clutter/clutter-paint-nodes.c
index
3495ae7
..
37663c3
100644
(file)
--- a/
clutter/clutter-paint-nodes.c
+++ b/
clutter/clutter-paint-nodes.c
@@
-79,6
+79,8
@@
_clutter_paint_node_init_types (void)
cogl_pipeline_set_layer_null_texture (default_texture_pipeline, 0,
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);
}
/*