[all] move defines for LGMP_QUEUE_*_LEN into KVMFR.h

This commit is contained in:
Geoffrey McRae committed 2020-10-30 18:48:41 +11:00
1 parent c0acfd1228
commit 0badf2a84c
3 files changed
+4 -5

No files matched your search

+1 -2
View File
@@ -375,8 +375,7 @@ static int frameThread(void * unused)
size_t dataSize;
LG_RendererFormat lgrFormat;
//FIXME: Should use LGMP_Q_FRAME_LEN
struct DMAFrameInfo dmaInfo[2] = {0};
struct DMAFrameInfo dmaInfo[LGMP_Q_FRAME_LEN] = {0};
const bool useDMA =
params.allowDMA &&
ivshmemHasDMA(&state.shm) &&