wined3d: Remove FVF related fields from IWineD3DVertexDeclaration.
This commit is contained in:
parent
b22ca33a85
commit
ee09e8bfd6
@ -1548,7 +1548,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateVertexDeclaration(IWineD3DDevice*
|
|||||||
This, ((IWineD3DImpl *)This->wineD3D)->dxVersion, elements, element_count, ppVertexDeclaration);
|
This, ((IWineD3DImpl *)This->wineD3D)->dxVersion, elements, element_count, ppVertexDeclaration);
|
||||||
|
|
||||||
D3DCREATEOBJECTINSTANCE(object, VertexDeclaration)
|
D3DCREATEOBJECTINSTANCE(object, VertexDeclaration)
|
||||||
object->allFVF = 0;
|
|
||||||
|
|
||||||
hr = IWineD3DVertexDeclaration_SetDeclaration((IWineD3DVertexDeclaration *)object, elements, element_count);
|
hr = IWineD3DVertexDeclaration_SetDeclaration((IWineD3DVertexDeclaration *)object, elements, element_count);
|
||||||
|
|
||||||
|
@ -1147,13 +1147,10 @@ BOOL CalculateTexRect(IWineD3DSurfaceImpl *This, RECT *Rect, float glTexCoord[4]
|
|||||||
typedef struct IWineD3DVertexDeclarationImpl {
|
typedef struct IWineD3DVertexDeclarationImpl {
|
||||||
/* IUnknown Information */
|
/* IUnknown Information */
|
||||||
const IWineD3DVertexDeclarationVtbl *lpVtbl;
|
const IWineD3DVertexDeclarationVtbl *lpVtbl;
|
||||||
LONG ref; /* Note: Ref counting not required */
|
LONG ref;
|
||||||
|
|
||||||
IUnknown *parent;
|
IUnknown *parent;
|
||||||
/** precomputed fvf if simple declaration */
|
|
||||||
IWineD3DDeviceImpl *wineD3DDevice;
|
IWineD3DDeviceImpl *wineD3DDevice;
|
||||||
DWORD fvf[MAX_STREAMS];
|
|
||||||
DWORD allFVF;
|
|
||||||
|
|
||||||
WINED3DVERTEXELEMENT *pDeclarationWine;
|
WINED3DVERTEXELEMENT *pDeclarationWine;
|
||||||
UINT declarationWNumElements;
|
UINT declarationWNumElements;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user