wined3d: Also update reference counts when we're recording a stateblock.

This commit is contained in:
H. Verbeet 2006-02-06 11:31:17 +01:00 committed by Alexandre Julliard
parent e43cfb1a68
commit fe7f2bad15

View file

@ -3782,7 +3782,6 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetVertexDeclaration(IWineD3DDevice* iface, IW
if (This->isRecordingState) {
TRACE("Recording... not performing anything\n");
return D3D_OK;
}
if (NULL != pDecl) {
@ -3814,7 +3813,6 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetVertexShader(IWineD3DDevice *iface, IWineD3
if (This->isRecordingState) {
TRACE("Recording... not performing anything\n");
return D3D_OK;
}
if (NULL != pShader) {
@ -3991,7 +3989,6 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetPixelShader(IWineD3DDevice *iface, IWineD3D
/* Handle recording of state blocks */
if (This->isRecordingState) {
TRACE("Recording... not performing anything\n");
return D3D_OK;
}
if (NULL != pShader) {