mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
Fix x_offset for YUV blitting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22556 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ffa83b484c
commit
a4e2d1f071
1 changed files with 2 additions and 0 deletions
|
@ -531,6 +531,8 @@ void lcd_blit_yuv(unsigned char * const src[3],
|
||||||
width &= ~1;
|
width &= ~1;
|
||||||
height &= ~1;
|
height &= ~1;
|
||||||
|
|
||||||
|
x += x_offset;
|
||||||
|
|
||||||
/* calculate the drawing region */
|
/* calculate the drawing region */
|
||||||
|
|
||||||
/* The 20GB LCD is actually 128x160 but rotated 90 degrees so the origin
|
/* The 20GB LCD is actually 128x160 but rotated 90 degrees so the origin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue