d3dx9: Add a stubbed D3DXDeclaratorFromFVF.

This commit is contained in:
Tony Wasserka 2010-04-19 05:51:06 +02:00 committed by Alexandre Julliard
parent 26e93215a4
commit a1945388f5
3 changed files with 14 additions and 1 deletions

View File

@ -118,7 +118,7 @@
@ stub D3DXCreateVolumeTextureFromResourceExW
@ stub D3DXCreateVolumeTextureFromResourceW
@ stdcall D3DXDebugMute(long)
@ stub D3DXDeclaratorFromFVF
@ stdcall D3DXDeclaratorFromFVF(long ptr)
@ stub D3DXDisassembleEffect
@ stub D3DXDisassembleShader
@ stub D3DXFileCreate

View File

@ -2,6 +2,7 @@
* Mesh operations specific to D3DX9.
*
* Copyright (C) 2009 David Adam
* Copyright (C) 2010 Tony Wasserka
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -166,6 +167,16 @@ HRESULT WINAPI D3DXComputeBoundingSphere(CONST D3DXVECTOR3* pfirstposition, DWOR
return D3D_OK;
}
/*************************************************************************
* D3DXDeclaratorFromFVF
*/
HRESULT WINAPI D3DXDeclaratorFromFVF(DWORD fvf, D3DVERTEXELEMENT9 Declaration[MAX_FVF_DECL_SIZE])
{
FIXME("(%d, %p): stub\n", fvf, Declaration);
return E_NOTIMPL;
}
/*************************************************************************
* D3DXGetFVFVertexSize
*/

View File

@ -1,5 +1,6 @@
/*
* Copyright (C) 2009 David Adam
* Copyright (C) 2010 Tony Wasserka
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -130,6 +131,7 @@ BOOL WINAPI D3DXBoxBoundProbe(CONST D3DXVECTOR3 *, CONST D3DXVECTOR3 *, CONST
BOOL WINAPI D3DXSphereBoundProbe(CONST D3DXVECTOR3 *,FLOAT,CONST D3DXVECTOR3 *,CONST D3DXVECTOR3 *);
HRESULT WINAPI D3DXComputeBoundingBox(CONST D3DXVECTOR3 *, DWORD, DWORD, D3DXVECTOR3 *, D3DXVECTOR3 *);
HRESULT WINAPI D3DXComputeBoundingSphere(CONST D3DXVECTOR3 *, DWORD, DWORD, D3DXVECTOR3 *, FLOAT *);
HRESULT WINAPI D3DXDeclaratorFromFVF(DWORD, D3DVERTEXELEMENT9[MAX_FVF_DECL_SIZE]);
BOOL WINAPI D3DXIntersectTri(CONST D3DXVECTOR3 *, CONST D3DXVECTOR3 *, CONST D3DXVECTOR3 *, CONST D3DXVECTOR3 *, CONST D3DXVECTOR3*, FLOAT *, FLOAT *, FLOAT *);
#ifdef __cplusplus