Commit a6b44a55 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d2d1/tests: Declare "level" as D3D_FEATURE_LEVEL in create_d3d11_device().

parent ce6372d9
...@@ -824,7 +824,7 @@ static ID3D10Device1 *create_d3d10_device(void) ...@@ -824,7 +824,7 @@ static ID3D10Device1 *create_d3d10_device(void)
static ID3D11Device *create_d3d11_device(void) static ID3D11Device *create_d3d11_device(void)
{ {
DWORD level = D3D_FEATURE_LEVEL_11_0; D3D_FEATURE_LEVEL level = D3D_FEATURE_LEVEL_11_0;
ID3D11Device *device; ID3D11Device *device;
if (SUCCEEDED(D3D11CreateDevice(NULL, D3D_DRIVER_TYPE_HARDWARE, NULL, if (SUCCEEDED(D3D11CreateDevice(NULL, D3D_DRIVER_TYPE_HARDWARE, NULL,
......
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