Commit cbae62ba authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

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

parent b6e87cd4
......@@ -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]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment