ddraw: Get rid of some redundant code in IDirect3DImpl_GetCaps().
dwTextureBlendCaps is overwritten later, and (potentially) uninitialized here.
This commit is contained in:
parent
3e7c800e9c
commit
da817d8e91
|
@ -4740,11 +4740,6 @@ HRESULT IDirect3DImpl_GetCaps(const struct wined3d *wined3d, D3DDEVICEDESC *desc
|
|||
D3DPTFILTERCAPS_MAGFLINEAR | D3DPTFILTERCAPS_MAGFANISOTROPIC | D3DPTFILTERCAPS_MAGFAFLATCUBIC |
|
||||
D3DPTFILTERCAPS_MAGFGAUSSIANCUBIC);
|
||||
|
||||
desc7->dpcLineCaps.dwTextureBlendCaps &= (
|
||||
D3DPTBLENDCAPS_DECAL | D3DPTBLENDCAPS_MODULATE | D3DPTBLENDCAPS_DECALALPHA |
|
||||
D3DPTBLENDCAPS_MODULATEALPHA | D3DPTBLENDCAPS_DECALMASK | D3DPTBLENDCAPS_MODULATEMASK |
|
||||
D3DPTBLENDCAPS_COPY | D3DPTBLENDCAPS_ADD);
|
||||
|
||||
desc7->dpcLineCaps.dwTextureAddressCaps &= (
|
||||
D3DPTADDRESSCAPS_WRAP | D3DPTADDRESSCAPS_MIRROR | D3DPTADDRESSCAPS_CLAMP |
|
||||
D3DPTADDRESSCAPS_BORDER | D3DPTADDRESSCAPS_INDEPENDENTUV);
|
||||
|
|
Loading…
Reference in New Issue