tests: Initialize current_texture variable.

It avoids a compiler warning for me. There is no actual issue though.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2021-11-05 19:35:48 +01:00 committed by Alexandre Julliard
parent 45ccf85ae6
commit 9c645bb1f6

View File

@ -511,9 +511,9 @@ START_TEST(shader_runner_d3d12)
.rt_format = DXGI_FORMAT_R32G32B32A32_FLOAT,
};
size_t shader_source_size = 0, shader_source_len = 0;
struct texture *current_texture = NULL;
enum parse_state state = STATE_NONE;
unsigned int i, line_number = 0;
struct texture *current_texture;
struct shader_context context;
const char *filename = NULL;
char *shader_source = NULL;