[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

@@ -440,7 +440,7 @@ static int frameThread(void * unused)
updatePositionInfo();
}
FrameBuffer fb = (FrameBuffer)(((uint8_t*)frame) + frame->offset);
FrameBuffer * fb = (FrameBuffer *)(((uint8_t*)frame) + frame->offset);
if (!state.lgr->on_frame_event(state.lgrData, lgrFormat, fb))
{
DEBUG_ERROR("renderer on frame event returned failure");