You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/cdgraphics: unbreak rendering of vertical scrolling
This commit is contained in:
@@ -218,7 +218,7 @@ static void cdg_scroll(CDGraphicsContext *cc, uint8_t *data,
|
|||||||
|
|
||||||
/// find the difference and save the offset for cdg_tile_block usage
|
/// find the difference and save the offset for cdg_tile_block usage
|
||||||
hinc = h_off - cc->hscroll;
|
hinc = h_off - cc->hscroll;
|
||||||
vinc = v_off - cc->vscroll;
|
vinc = cc->vscroll - v_off;
|
||||||
cc->hscroll = h_off;
|
cc->hscroll = h_off;
|
||||||
cc->vscroll = v_off;
|
cc->vscroll = v_off;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user