wined3d: Remove some unneeded context cache members from the device.
This commit is contained in:
parent
d47ec21280
commit
2e55c196ee
|
@ -307,10 +307,6 @@ static void state_blend(DWORD state, IWineD3DStateBlockImpl *stateblock) {
|
|||
TRACE("glBlendFunc src=%x, dst=%x\n", srcBlend, dstBlend);
|
||||
glBlendFunc(srcBlend, dstBlend);
|
||||
checkGLcall("glBlendFunc");
|
||||
|
||||
/* TODO: Remove when state management done */
|
||||
stateblock->wineD3DDevice->dstBlend = dstBlend;
|
||||
stateblock->wineD3DDevice->srcBlend = srcBlend;
|
||||
}
|
||||
|
||||
static void state_blendfactor(DWORD state, IWineD3DStateBlockImpl *stateblock) {
|
||||
|
@ -361,7 +357,6 @@ static void state_alpha(DWORD state, IWineD3DStateBlockImpl *stateblock) {
|
|||
glParm = CompareFunc(stateblock->renderState[WINED3DRS_ALPHAFUNC]);
|
||||
}
|
||||
if(glParm) {
|
||||
stateblock->wineD3DDevice->alphafunc = glParm; /* Remove when state management done */
|
||||
glAlphaFunc(glParm, ref);
|
||||
checkGLcall("glAlphaFunc");
|
||||
}
|
||||
|
|
|
@ -576,9 +576,6 @@ typedef struct IWineD3DDeviceImpl
|
|||
#define IS_TRACKING 1 /* tracking_parm is tracking diffuse color */
|
||||
#define NEEDS_TRACKING 2 /* Tracking needs to be enabled when needed */
|
||||
#define NEEDS_DISABLE 3 /* Tracking needs to be disabled when needed*/
|
||||
UINT srcBlend;
|
||||
UINT dstBlend;
|
||||
UINT alphafunc;
|
||||
BOOL texture_shader_active; /* TODO: Confirm use is correct */
|
||||
BOOL last_was_notclipped;
|
||||
BOOL untransformed;
|
||||
|
|
Loading…
Reference in New Issue