projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9c8250
)
compositor: fix pitch initialization
author
Tiago Vignatti
<tiago.vignatti@intel.com>
Fri, 19 Aug 2011 12:10:40 +0000
(15:10 +0300)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 19 Aug 2011 14:55:33 +0000
(10:55 -0400)
texture_region was getting a trash value for computing. I don't
understand how we couldn't see any artifact on surface output in such
case.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
compositor/compositor.c
patch
|
blob
|
history
diff --git
a/compositor/compositor.c
b/compositor/compositor.c
index
2b88440
..
b2342b4
100644
(file)
--- a/
compositor/compositor.c
+++ b/
compositor/compositor.c
@@
-754,6
+754,7
@@
fade_output(struct wlsc_output *output,
surface.compositor = compositor;
surface.x = output->x;
surface.y = output->y;
+ surface.pitch = output->current->width;
surface.width = output->current->width;
surface.height = output->current->height;
surface.texture = GL_NONE;