[all] expose the FrameBuffer struct for correct sizeof calculations

This commit is contained in:
Geoffrey McRae
2020-01-13 19:30:49 +11:00
parent 9846762991
commit 17e05c6fd5
16 changed files with 40 additions and 39 deletions

View File

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