Commit da354c6d authored by H. Verbeet's avatar H. Verbeet Committed by Alexandre Julliard

wined3d: Add WINED3DLINECAPS flags and use them.

parent 79909e7e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment