wined3d: Add D3DLINEPATTERN to the WINED3D namespace.

This commit is contained in:
Ivan Gyurdiev 2006-10-31 03:21:15 -05:00 committed by Alexandre Julliard
parent 50130fdfdb
commit 4934b7ae79
3 changed files with 7 additions and 2 deletions

View File

@ -4100,7 +4100,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W
{
union {
DWORD d;
D3DLINEPATTERN lp;
WINED3DLINEPATTERN lp;
} tmppattern;
tmppattern.d = Value;

View File

@ -813,7 +813,7 @@ static HRESULT WINAPI IWineD3DStateBlockImpl_InitStartupStateBlock(IWineD3DStat
IWineD3DDevice *device = (IWineD3DDevice *)This->wineD3DDevice;
IWineD3DDeviceImpl *ThisDevice = (IWineD3DDeviceImpl *)device;
union {
D3DLINEPATTERN lp;
WINED3DLINEPATTERN lp;
DWORD d;
} lp;
union {

View File

@ -118,6 +118,11 @@ typedef struct _WINED3DGAMMARAMP {
WORD blue [256];
} WINED3DGAMMARAMP;
typedef struct _WINED3DLINEPATTERN {
WORD wRepeatFactor;
WORD wLinePattern;
} WINED3DLINEPATTERN;
#define WINED3D_VSHADER_MAX_CONSTANTS 96
#define WINED3D_PSHADER_MAX_CONSTANTS 32