From fe7f2bad15481677edcfdaae7778932d64113525 Mon Sep 17 00:00:00 2001 From: "H. Verbeet" Date: Mon, 6 Feb 2006 11:31:17 +0100 Subject: [PATCH] wined3d: Also update reference counts when we're recording a stateblock. --- dlls/wined3d/device.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index ffd76176a2e..6277ff52892 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -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) { -- 2.11.4.GIT