mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
mesa: rename _mesa_free_errors_data
Use the _mesa_init_XXX / _mesa_destroy_XXX pattern to clearly associate
the 2 functions.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5789>
(cherry picked from commit e6f7b4312f)
This commit is contained in:
parent
0e1aa8daa3
commit
0831f06c2d
4 changed files with 4 additions and 4 deletions
|
|
@ -20020,7 +20020,7 @@
|
|||
"description": "mesa: rename _mesa_free_errors_data",
|
||||
"nominated": false,
|
||||
"nomination_type": null,
|
||||
"resolution": 4,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1387,7 +1387,7 @@ _mesa_free_context_data(struct gl_context *ctx)
|
|||
/* needs to be after freeing shared state */
|
||||
_mesa_free_display_list_data(ctx);
|
||||
|
||||
_mesa_free_errors_data(ctx);
|
||||
_mesa_destroy_debug_output(ctx);
|
||||
|
||||
free((void *)ctx->Extensions.String);
|
||||
|
||||
|
|
|
|||
|
|
@ -1281,7 +1281,7 @@ _mesa_init_debug_output(struct gl_context *ctx)
|
|||
|
||||
|
||||
void
|
||||
_mesa_free_errors_data(struct gl_context *ctx)
|
||||
_mesa_destroy_debug_output(struct gl_context *ctx)
|
||||
{
|
||||
if (ctx->Debug) {
|
||||
debug_destroy(ctx->Debug);
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ void
|
|||
_mesa_init_debug_output(struct gl_context *ctx);
|
||||
|
||||
void
|
||||
_mesa_free_errors_data(struct gl_context *ctx);
|
||||
_mesa_destroy_debug_output(struct gl_context *ctx);
|
||||
|
||||
void
|
||||
_mesa_debug_get_id(GLuint *id);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue