d3dcompiler_43: Turn variable 'c' into a static constant.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Alex Henrie 2018-11-11 20:51:37 -07:00 committed by Alexandre Julliard
parent b6e87cd48c
commit cbae62ba9e
1 changed files with 1 additions and 1 deletions

View File

@ -2176,7 +2176,7 @@ static void debug_dump_ir_swizzle(const struct hlsl_ir_swizzle *swizzle)
}
else
{
char c[] = {'x', 'y', 'z', 'w'};
static const char c[] = {'x', 'y', 'z', 'w'};
for (i = 0; i < swizzle->node.data_type->dimx; ++i)
TRACE("%c", c[(swizzle->swizzle >> i * 2) & 0x3]);