wined3d: Remove unused enum elements from WINED3DTEXTURESTAGESTATETYPE.

This commit is contained in:
Henri Verbeet 2009-01-05 10:10:16 +01:00 committed by Alexandre Julliard
parent df89eec03c
commit e8ba733706
4 changed files with 0 additions and 14 deletions

View File

@ -7571,7 +7571,6 @@ const DWORD SavedPixelStates_R[NUM_SAVEDPIXELSTATES_R] = {
}; };
const DWORD SavedPixelStates_T[NUM_SAVEDPIXELSTATES_T] = { const DWORD SavedPixelStates_T[NUM_SAVEDPIXELSTATES_T] = {
WINED3DTSS_ADDRESSW ,
WINED3DTSS_ALPHAARG0 , WINED3DTSS_ALPHAARG0 ,
WINED3DTSS_ALPHAARG1 , WINED3DTSS_ALPHAARG1 ,
WINED3DTSS_ALPHAARG2 , WINED3DTSS_ALPHAARG2 ,

View File

@ -1240,7 +1240,6 @@ static HRESULT WINAPI IWineD3DStateBlockImpl_InitStartupStateBlock(IWineD3DStat
This->textureState[i][WINED3DTSS_BUMPENVLSCALE ] = 0; This->textureState[i][WINED3DTSS_BUMPENVLSCALE ] = 0;
This->textureState[i][WINED3DTSS_BUMPENVLOFFSET ] = 0; This->textureState[i][WINED3DTSS_BUMPENVLOFFSET ] = 0;
This->textureState[i][WINED3DTSS_TEXTURETRANSFORMFLAGS ] = WINED3DTTFF_DISABLE; This->textureState[i][WINED3DTSS_TEXTURETRANSFORMFLAGS ] = WINED3DTTFF_DISABLE;
This->textureState[i][WINED3DTSS_ADDRESSW ] = WINED3DTADDRESS_WRAP;
This->textureState[i][WINED3DTSS_COLORARG0 ] = WINED3DTA_CURRENT; This->textureState[i][WINED3DTSS_COLORARG0 ] = WINED3DTA_CURRENT;
This->textureState[i][WINED3DTSS_ALPHAARG0 ] = WINED3DTA_CURRENT; This->textureState[i][WINED3DTSS_ALPHAARG0 ] = WINED3DTA_CURRENT;
This->textureState[i][WINED3DTSS_RESULTARG ] = WINED3DTA_CURRENT; This->textureState[i][WINED3DTSS_RESULTARG ] = WINED3DTA_CURRENT;

View File

@ -1020,7 +1020,6 @@ const char* debug_d3dtexturestate(DWORD state) {
D3DSTATE_TO_STR(WINED3DTSS_BUMPENVLSCALE ); D3DSTATE_TO_STR(WINED3DTSS_BUMPENVLSCALE );
D3DSTATE_TO_STR(WINED3DTSS_BUMPENVLOFFSET ); D3DSTATE_TO_STR(WINED3DTSS_BUMPENVLOFFSET );
D3DSTATE_TO_STR(WINED3DTSS_TEXTURETRANSFORMFLAGS ); D3DSTATE_TO_STR(WINED3DTSS_TEXTURETRANSFORMFLAGS );
D3DSTATE_TO_STR(WINED3DTSS_ADDRESSW );
D3DSTATE_TO_STR(WINED3DTSS_COLORARG0 ); D3DSTATE_TO_STR(WINED3DTSS_COLORARG0 );
D3DSTATE_TO_STR(WINED3DTSS_ALPHAARG0 ); D3DSTATE_TO_STR(WINED3DTSS_ALPHAARG0 );
D3DSTATE_TO_STR(WINED3DTSS_RESULTARG ); D3DSTATE_TO_STR(WINED3DTSS_RESULTARG );

View File

@ -565,20 +565,9 @@ typedef enum _WINED3DTEXTURESTAGESTATETYPE
WINED3DTSS_BUMPENVMAT10 = 9, WINED3DTSS_BUMPENVMAT10 = 9,
WINED3DTSS_BUMPENVMAT11 = 10, WINED3DTSS_BUMPENVMAT11 = 10,
WINED3DTSS_TEXCOORDINDEX = 11, WINED3DTSS_TEXCOORDINDEX = 11,
WINED3DTSS_ADDRESS = 12,
WINED3DTSS_ADDRESSU = 13,
WINED3DTSS_ADDRESSV = 14,
WINED3DTSS_BORDERCOLOR = 15,
WINED3DTSS_MAGFILTER = 16,
WINED3DTSS_MINFILTER = 17,
WINED3DTSS_MIPFILTER = 18,
WINED3DTSS_MIPMAPLODBIAS = 19,
WINED3DTSS_MAXMIPLEVEL = 20,
WINED3DTSS_MAXANISOTROPY = 21,
WINED3DTSS_BUMPENVLSCALE = 22, WINED3DTSS_BUMPENVLSCALE = 22,
WINED3DTSS_BUMPENVLOFFSET = 23, WINED3DTSS_BUMPENVLOFFSET = 23,
WINED3DTSS_TEXTURETRANSFORMFLAGS = 24, WINED3DTSS_TEXTURETRANSFORMFLAGS = 24,
WINED3DTSS_ADDRESSW = 25,
WINED3DTSS_COLORARG0 = 26, WINED3DTSS_COLORARG0 = 26,
WINED3DTSS_ALPHAARG0 = 27, WINED3DTSS_ALPHAARG0 = 27,
WINED3DTSS_RESULTARG = 28, WINED3DTSS_RESULTARG = 28,