Commit f7cacc1f authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

d3d8: Initialize IDirect3DDevice8 *device to NULL in case of immediate cleanup (Coverity 795).

parent e3e9bc30
...@@ -1288,7 +1288,7 @@ static void test_depth_stencil_reset(void) ...@@ -1288,7 +1288,7 @@ static void test_depth_stencil_reset(void)
D3DPRESENT_PARAMETERS present_parameters; D3DPRESENT_PARAMETERS present_parameters;
D3DDISPLAYMODE display_mode; D3DDISPLAYMODE display_mode;
IDirect3DSurface8 *surface; IDirect3DSurface8 *surface;
IDirect3DDevice8 *device; IDirect3DDevice8 *device = NULL;
IDirect3D8 *d3d8; IDirect3D8 *d3d8;
HRESULT hr; HRESULT hr;
HWND hwnd; HWND hwnd;
......
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