Skip to content

Commit

Permalink
libnx: disable mesa errors to improve perf
Browse files Browse the repository at this point in the history
  • Loading branch information
natinusala committed Feb 21, 2019
1 parent 4d86030 commit a98cb75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gfx/drivers_context/switch_ctx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a98cb75

Please sign in to comment.