From 4f54e550e91141cf8ad7fcad87150b50d47fc223 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 4 May 2019 10:04:07 -0600 Subject: [PATCH] gallium/pp: s/uint/enum tgsi_semantic/ to fix MSVC warning Reviewed-by: Roland Scheidegger --- src/gallium/auxiliary/postprocess/pp_program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/postprocess/pp_program.c b/src/gallium/auxiliary/postprocess/pp_program.c index 52786de..4cd3990 100644 --- a/src/gallium/auxiliary/postprocess/pp_program.c +++ b/src/gallium/auxiliary/postprocess/pp_program.c @@ -126,7 +126,7 @@ pp_init_prog(struct pp_queue_t *ppq, struct pipe_context *pipe, { - const uint semantic_names[] = { TGSI_SEMANTIC_POSITION, + const enum tgsi_semantic semantic_names[] = { TGSI_SEMANTIC_POSITION, TGSI_SEMANTIC_GENERIC }; const uint semantic_indexes[] = { 0, 0 }; -- 2.7.4