Commit 358b8148 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

d3dcompiler: Turn variable 'components' into a static constant.

parent c7616efb
......@@ -2138,7 +2138,8 @@ static void debug_dump_ir_constructor(const struct hlsl_ir_constructor *construc
static const char *debug_writemask(DWORD writemask)
{
char string[5], components[] = {'x', 'y', 'z', 'w'};
static const char components[] = {'x', 'y', 'z', 'w'};
char string[5];
unsigned int i = 0, pos = 0;
while (writemask)
......
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