BqQueueBufferInput: add swapInterval field (purpose currently unknown)

This commit is contained in:
fincs 2018-08-31 20:11:53 +02:00
parent 651dd72ac1
commit 0d1b8bd723
2 changed files with 4 additions and 2 deletions

View File

@ -16,7 +16,8 @@ typedef struct {
s32 scalingMode; s32 scalingMode;
u32 transform; // See the NATIVE_WINDOW_TRANSFORM_* enums. u32 transform; // See the NATIVE_WINDOW_TRANSFORM_* enums.
u32 stickyTransform; u32 stickyTransform;
u32 unk[2]; u32 unk;
u32 swapInterval;
NvMultiFence fence; NvMultiFence fence;
} BqQueueBufferInput; } BqQueueBufferInput;

View File

@ -62,7 +62,8 @@ static BqQueueBufferInput g_gfxQueueBufferData = {
.scalingMode = 0x0, .scalingMode = 0x0,
.transform = NATIVE_WINDOW_TRANSFORM_FLIP_V, .transform = NATIVE_WINDOW_TRANSFORM_FLIP_V,
.stickyTransform = 0x0, .stickyTransform = 0x0,
.unk = {0x0, 0x1}, .unk = 0x0,
.swapInterval = 0x1,
.fence = {0}, .fence = {0},
}; };