glsl: align definition of _mesa_problem with the one in main/error.h

The ctx pointer not used by that function anyway, so const'ing it makes
no difference.

Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21557>
This commit is contained in:
Eric Engestrom
2023-02-27 15:24:36 +00:00
committed by Marge Bot
parent ff494361be
commit 78c95b2865
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ _mesa_warning(struct gl_context *ctx, const char *fmt, ...)
}
void
_mesa_problem(struct gl_context *ctx, const char *fmt, ...)
_mesa_problem(const struct gl_context *ctx, const char *fmt, ...)
{
va_list vargs;
(void) ctx;

View File

@@ -38,7 +38,7 @@ extern "C" void
_mesa_warning(struct gl_context *ctx, const char *fmtString, ... );
extern "C" void
_mesa_problem(struct gl_context *ctx, const char *fmtString, ... );
_mesa_problem(const struct gl_context *ctx, const char *fmtString, ... );
extern "C" void
_mesa_reference_shader_program_data(struct gl_shader_program_data **ptr,