tests: Use a macro to define the render target size.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura
2022-03-19 12:35:34 -05:00
committed by Alexandre Julliard
parent e5be178fe2
commit 099df706f0
4 changed files with 12 additions and 9 deletions

View File

@@ -293,7 +293,7 @@ static void parse_test_directive(struct shader_runner *runner, const char *line)
}
else if (match_string(line, "probe all rgba", &line))
{
static const RECT rect = {0, 0, 640, 480};
static const RECT rect = {0, 0, RENDER_TARGET_WIDTH, RENDER_TARGET_HEIGHT};
unsigned int ulps;
struct vec4 v;
int ret;