d3dx9: Fix a typo.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrey Gusev 2016-01-15 11:08:59 +02:00 committed by Alexandre Julliard
parent d575e0afe3
commit 37cbe0b882
2 changed files with 3 additions and 3 deletions

View File

@ -157,7 +157,7 @@ HRESULT WINAPI D3DXCreateBuffer(DWORD size, ID3DXBuffer **buffer)
*buffer = &object->ID3DXBuffer_iface; *buffer = &object->ID3DXBuffer_iface;
TRACE("Created ID3DBuffer %p\n", *buffer); TRACE("Created ID3DXBuffer %p.\n", *buffer);
return D3D_OK; return D3D_OK;
} }

View File

@ -81,7 +81,7 @@ static void test_ID3DXBuffer(void)
ok(!size, "GetBufferSize failed, got %u, expected %u\n", size, 0); ok(!size, "GetBufferSize failed, got %u, expected %u\n", size, 0);
count = ID3DXBuffer_Release(buffer); count = ID3DXBuffer_Release(buffer);
ok(!count, "ID3DBuffer has %u references left\n", count); ok(!count, "ID3DXBuffer has %u references left\n", count);
hr = D3DXCreateBuffer(3, &buffer); hr = D3DXCreateBuffer(3, &buffer);
ok(hr == D3D_OK, "D3DXCreateBuffer failed, got %#x, expected %#x\n", hr, D3D_OK); ok(hr == D3D_OK, "D3DXCreateBuffer failed, got %#x, expected %#x\n", hr, D3D_OK);
@ -90,7 +90,7 @@ static void test_ID3DXBuffer(void)
ok(size == 3, "GetBufferSize failed, got %u, expected %u\n", size, 3); ok(size == 3, "GetBufferSize failed, got %u, expected %u\n", size, 3);
count = ID3DXBuffer_Release(buffer); count = ID3DXBuffer_Release(buffer);
ok(!count, "ID3DBuffer has %u references left\n", count); ok(!count, "ID3DXBuffer has %u references left\n", count);
} }
static void test_ID3DXSprite(IDirect3DDevice9 *device) static void test_ID3DXSprite(IDirect3DDevice9 *device)