Commit 50130fdf authored by Ivan Gyurdiev's avatar Ivan Gyurdiev Committed by Alexandre Julliard

wined3d: Add D3DPATCHEDGESTYLE to the WINED3D namespace.

parent 8d7a0196
......@@ -4463,7 +4463,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W
case WINED3DRS_PATCHEDGESTYLE :
{
if(D3DPATCHEDGE_DISCRETE != Value)
if(WINED3DPATCHEDGE_DISCRETE != Value)
ERR("(%p)->(%s,%d) not yet implemented\n", This, debug_d3drenderstate(State), Value);
break;
}
......
......@@ -925,7 +925,7 @@ static HRESULT WINAPI IWineD3DStateBlockImpl_InitStartupStateBlock(IWineD3DStat
IWineD3DDevice_SetRenderState(device, WINED3DRS_POINTSCALE_C, tmpfloat.d);
IWineD3DDevice_SetRenderState(device, WINED3DRS_MULTISAMPLEANTIALIAS, TRUE);
IWineD3DDevice_SetRenderState(device, WINED3DRS_MULTISAMPLEMASK, 0xFFFFFFFF);
IWineD3DDevice_SetRenderState(device, WINED3DRS_PATCHEDGESTYLE, D3DPATCHEDGE_DISCRETE);
IWineD3DDevice_SetRenderState(device, WINED3DRS_PATCHEDGESTYLE, WINED3DPATCHEDGE_DISCRETE);
tmpfloat.f = 1.0f;
IWineD3DDevice_SetRenderState(device, WINED3DRS_PATCHSEGMENTS, tmpfloat.d);
IWineD3DDevice_SetRenderState(device, WINED3DRS_DEBUGMONITORTOKEN, 0xbaadcafe);
......
......@@ -560,6 +560,13 @@ typedef enum _WINED3DMATERIALCOLORSOURCE {
WINED3DMCS_FORCE_DWORD = 0x7fffffff
} WINED3DMATERIALCOLORSOURCE;
typedef enum _WINED3DPATCHEDGESTYLE {
WINED3DPATCHEDGE_DISCRETE = 0,
WINED3DPATCHEDGE_CONTINUOUS = 1,
WINED3DPATCHEDGE_FORCE_DWORD = 0x7fffffff,
} WINED3DPATCHEDGESTYLE;
typedef struct _WINED3DDISPLAYMODE {
UINT Width;
UINT Height;
......
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