mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 17:38:08 +02:00
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:916bc4491a("mesa: Implement proper tracking logic for glGetGraphicsResetStatusARB") Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Eric R. Smith <eric.smith@collabora.com> (cherry picked from commitafe3f28013) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41540>
This commit is contained in:
parent
2cb8082264
commit
6f58212969
2 changed files with 1 additions and 6 deletions
|
|
@ -864,7 +864,7 @@
|
|||
"description": "mesa/main: remove incorrect debug-output",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "916bc4491a2a7607bf2bd22aa1a5a537285c89c9",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue