[all] align the frame data to the page boundary

This commit is contained in:
Geoffrey McRae
2020-01-13 19:17:09 +11:00
parent 17df1ebc6b
commit 9846762991
5 changed files with 9 additions and 4 deletions

View File

@@ -164,7 +164,7 @@ static void lgVideoTick(void * data, float seconds)
}
}
FrameBuffer fb = (FrameBuffer)(frame + 1);
FrameBuffer fb = (FrameBuffer)(((uint8_t*)frame) + frame->offset);
uint8_t *texData;
uint32_t linesize;