From c921c8692277b76d119a1ab873b684f8236c9e6b Mon Sep 17 00:00:00 2001 From: yellows8 Date: Sun, 17 Dec 2017 21:38:18 -0500 Subject: [PATCH] Updated a comment. --- nx/source/gfx/gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/source/gfx/gfx.c b/nx/source/gfx/gfx.c index 21aa4ee0..30c19117 100644 --- a/nx/source/gfx/gfx.c +++ b/nx/source/gfx/gfx.c @@ -157,7 +157,7 @@ static Result _gfxInit(viServiceType servicetype, const char *DisplayName, u32 L if (R_SUCCEEDED(rc)) rc = nvgfxGetFramebuffer(&g_gfxFramebuf, &g_gfxFramebufSize); - if (R_SUCCEEDED(rc)) { //TODO: Merge this into gfxSwapBuffers()? + if (R_SUCCEEDED(rc)) { //Official sw would use bufferProducerRequestBuffer() when required during swap-buffers/or similar, but that's not really an option here due to gfxSetDoubleBuffering(). for(i=0; i<2; i++) { rc = _gfxDequeueBuffer(); if (R_FAILED(rc)) break;