d3d9/tests: Avoid LPDIRECT3DVERTEXBUFFER9.

This commit is contained in:
Henri Verbeet 2012-10-30 01:01:45 +01:00 committed by Alexandre Julliard
parent 369fb5185f
commit 64ffe6476e
1 changed files with 2 additions and 2 deletions

View File

@ -7014,14 +7014,14 @@ out:
static void shademode_test(IDirect3DDevice9 *device)
{
/* Render a quad and try all of the different fixed function shading models. */
struct IDirect3DVertexBuffer9 *vb_strip = NULL;
struct IDirect3DVertexBuffer9 *vb_list = NULL;
HRESULT hr;
DWORD color0, color1;
DWORD color0_gouraud = 0, color1_gouraud = 0;
DWORD shademode = D3DSHADE_FLAT;
DWORD primtype = D3DPT_TRIANGLESTRIP;
LPVOID data = NULL;
LPDIRECT3DVERTEXBUFFER9 vb_strip = NULL;
LPDIRECT3DVERTEXBUFFER9 vb_list = NULL;
UINT i, j;
struct vertex quad_strip[] =
{