d3d9/tests: Fix use of uninitialized variable (Coverity).
This commit is contained in:
parent
361280b22b
commit
7a8455094d
|
@ -1263,7 +1263,7 @@ static void test_draw_indexed(void)
|
||||||
IDirect3DVertexBuffer9 *vertex_buffer = NULL;
|
IDirect3DVertexBuffer9 *vertex_buffer = NULL;
|
||||||
IDirect3DIndexBuffer9 *index_buffer = NULL;
|
IDirect3DIndexBuffer9 *index_buffer = NULL;
|
||||||
D3DPRESENT_PARAMETERS present_parameters;
|
D3DPRESENT_PARAMETERS present_parameters;
|
||||||
IDirect3DDevice9 *device;
|
IDirect3DDevice9 *device = NULL;
|
||||||
IDirect3D9 *d3d9;
|
IDirect3D9 *d3d9;
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
HWND hwnd;
|
HWND hwnd;
|
||||||
|
|
Loading…
Reference in New Issue