mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Removed commented-out code for g_gfxQueueBufferData fence, and added a comment for it.
This commit is contained in:
parent
edf2d1417a
commit
2a26b50459
@ -46,8 +46,8 @@ static bufferProducerQueueBufferInput g_gfxQueueBufferData = {
|
||||
.is_valid = 0x1,
|
||||
.nv_fences = {
|
||||
{
|
||||
.id = /*0x42*/0xffffffff,
|
||||
.value = /*0x13f4*/0x0,
|
||||
.id = 0xffffffff, //Official sw sets this to the output fence from the last nvioctlChannel_SubmitGPFIFO().
|
||||
.value = 0x0,
|
||||
},
|
||||
{0xffffffff, 0x0}, {0xffffffff, 0x0}, {0xffffffff, 0x0},
|
||||
},
|
||||
@ -100,12 +100,6 @@ static Result _gfxQueueBuffer(s32 buf) {
|
||||
rc = bufferProducerQueueBuffer(buf, &g_gfxQueueBufferData, &g_gfx_QueueBuffer_QueueBufferOutput);
|
||||
if (R_FAILED(rc)) return rc;
|
||||
|
||||
/*if(buf==0) {//
|
||||
g_gfxQueueBufferData.nv_fence.value+= 0x6;
|
||||
} else {
|
||||
g_gfxQueueBufferData.nv_fence.value+= 0x7;
|
||||
}*/
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user