wined3d: Add WINED3DLINECAPS flags and use them.
This commit is contained in:
parent
79909e7e5a
commit
da354c6dfa
|
@ -2093,12 +2093,12 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
|
|||
} else
|
||||
*pCaps->VolumeTextureAddressCaps = 0;
|
||||
|
||||
*pCaps->LineCaps = D3DLINECAPS_TEXTURE |
|
||||
D3DLINECAPS_ZTEST;
|
||||
*pCaps->LineCaps = WINED3DLINECAPS_TEXTURE |
|
||||
WINED3DLINECAPS_ZTEST;
|
||||
/* FIXME: Add
|
||||
D3DLINECAPS_BLEND
|
||||
D3DLINECAPS_ALPHACMP
|
||||
D3DLINECAPS_FOG */
|
||||
WINED3DLINECAPS_BLEND
|
||||
WINED3DLINECAPS_ALPHACMP
|
||||
WINED3DLINECAPS_FOG */
|
||||
|
||||
*pCaps->MaxTextureWidth = GL_LIMITS(texture_size);
|
||||
*pCaps->MaxTextureHeight = GL_LIMITS(texture_size);
|
||||
|
|
|
@ -19,6 +19,12 @@
|
|||
#ifndef __WINE_WINED3D_CAPS_H
|
||||
#define __WINE_WINED3D_CAPS_H
|
||||
|
||||
#define WINED3DLINECAPS_TEXTURE 0x00000001
|
||||
#define WINED3DLINECAPS_ZTEST 0x00000002
|
||||
#define WINED3DLINECAPS_BLEND 0x00000004
|
||||
#define WINED3DLINECAPS_ALPHACMP 0x00000008
|
||||
#define WINED3DLINECAPS_FOG 0x00000010
|
||||
|
||||
#define WINED3DPBLENDCAPS_ZERO 0x00000001
|
||||
#define WINED3DPBLENDCAPS_ONE 0x00000002
|
||||
#define WINED3DPBLENDCAPS_SRCCOLOR 0x00000004
|
||||
|
|
Loading…
Reference in New Issue