From 0d3da1d9006fb339095a100ead0bc46dcaa026e7 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Fri, 17 Nov 2017 01:29:42 -0500 Subject: [PATCH] Removed outdated parcel-error comments. --- nx/source/gfx/gfx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nx/source/gfx/gfx.c b/nx/source/gfx/gfx.c index 5765eac2..bcf877eb 100644 --- a/nx/source/gfx/gfx.c +++ b/nx/source/gfx/gfx.c @@ -40,7 +40,7 @@ static Result _gfxGetNativeWindowID(u8 *buf, u64 size, s32 *out_ID) { } static Result _gfxDequeueBuffer() { - return gfxproducerDequeueBuffer(1, 1280, 720, 0, 0x300);//reply_parcel currently contains error(s), presumably due to nv not being initialized for this. + return gfxproducerDequeueBuffer(1, 1280, 720, 0, 0x300); } static Result _gfxQueueBuffer(s32 buf) { @@ -101,12 +101,12 @@ static Result _gfxInit(viServiceType servicetype, const char *DisplayName, u32 L rc = _gfxDequeueBuffer(); if (R_FAILED(rc)) break; - rc = gfxproducerRequestBuffer(i);//reply_parcel currently contains an error, presumably due to _gfxDequeueBuffer() failing as mentioned above. + rc = gfxproducerRequestBuffer(i); if (R_FAILED(rc)) break; //Officially, nvioctlNvmap_FromID() and nvioctlChannel_SubmitGPFIFO() are used here. - rc = _gfxQueueBuffer(i);//reply_parcel currently contains the same error as gfxproducerRequestBuffer() above. + rc = _gfxQueueBuffer(i); if (R_FAILED(rc)) break; } }