d3d8: Initialize IDirect3DDevice8 *device to NULL in case of immediate cleanup (Coverity 795).
This commit is contained in:
parent
e3e9bc30fd
commit
f7cacc1f09
|
@ -1288,7 +1288,7 @@ static void test_depth_stencil_reset(void)
|
|||
D3DPRESENT_PARAMETERS present_parameters;
|
||||
D3DDISPLAYMODE display_mode;
|
||||
IDirect3DSurface8 *surface;
|
||||
IDirect3DDevice8 *device;
|
||||
IDirect3DDevice8 *device = NULL;
|
||||
IDirect3D8 *d3d8;
|
||||
HRESULT hr;
|
||||
HWND hwnd;
|
||||
|
|
Loading…
Reference in New Issue