From a98cb75549e922420aad872585837776392f9be7 Mon Sep 17 00:00:00 2001 From: natinusala Date: Thu, 21 Feb 2019 19:01:37 +0100 Subject: [PATCH] libnx: disable mesa errors to improve perf --- gfx/drivers_context/switch_ctx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gfx/drivers_context/switch_ctx.c b/gfx/drivers_context/switch_ctx.c index a162363b50..a28483e07e 100644 --- a/gfx/drivers_context/switch_ctx.c +++ b/gfx/drivers_context/switch_ctx.c @@ -82,9 +82,10 @@ static void *switch_ctx_init(video_frame_info_t *video_info, void *video_driver) nx_ctx_ptr = ctx_nx; -#if 0 + /* Comment below to enable error checking */ setenv("MESA_NO_ERROR", "1", 1); +#if 0 /* Uncomment below to enable Mesa logging: */ setenv("EGL_LOG_LEVEL", "debug", 1); setenv("MESA_VERBOSE", "all", 1);