From 1bec6ab0bc0c16f3b580165f7cb337e9510cce3a Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 9 Oct 2014 11:50:49 +0200 Subject: [PATCH] d3d9/tests: Use create_device() in test_scissor_size(). --- dlls/d3d9/tests/device.c | 34 ++++++++-------------------------- 1 file changed, 8 insertions(+), 26 deletions(-) diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c index 16a91776ad7..02c8227020f 100644 --- a/dlls/d3d9/tests/device.c +++ b/dlls/d3d9/tests/device.c @@ -2938,6 +2938,7 @@ static void test_display_formats(void) static void test_scissor_size(void) { + struct device_desc device_desc; IDirect3D9 *d3d9_ptr; unsigned int i; static struct { @@ -2954,7 +2955,6 @@ static void test_scissor_size(void) for(i=0; i