From d7c9c5419791a9d0c2dd983e60ee1f6240c4028d Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 23 Apr 2026 10:34:17 +0200 Subject: [PATCH] mesa/main: remove incorrect debug-output This message was incorrect from the time it was introduced; the function can return other error messages. If that happened in reality or not was a bit more unsure, but that's not a good reason to make a blanket statement like this. In either case, we do track properly now, and we have for a long time. The other, similar message in this function is correct. Fixes: 916bc4491a2 ("mesa: Implement proper tracking logic for glGetGraphicsResetStatusARB") --- src/mesa/main/robustness.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mesa/main/robustness.c b/src/mesa/main/robustness.c index 2b998448f53..3a7e50098e2 100644 --- a/src/mesa/main/robustness.c +++ b/src/mesa/main/robustness.c @@ -140,10 +140,5 @@ _mesa_GetGraphicsResetStatusARB( void ) if (status != GL_NO_ERROR) _mesa_set_context_lost_dispatch(ctx); - if (!ctx->Driver.GetGraphicsResetStatus && (MESA_VERBOSE & VERBOSE_API)) - _mesa_debug(ctx, - "glGetGraphicsResetStatusARB always returns GL_NO_ERROR " - "because the driver doesn't track reset status.\n"); - return status; }