d3dcompiler: Turn variable 'components' into a static constant.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c7616efb98
commit
358b814873
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue