Revert "wined3d: Prevent crash when blit_priv is NULL.".
This reverts commit37aadc9e37
. This patch was superseded byb2132202c7
.
This commit is contained in:
parent
0adc1b60d8
commit
c9ba0949c2
|
@ -3924,8 +3924,8 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_Blt(IWineD3DSurface *iface, const RECT
|
|||
}
|
||||
|
||||
/* Special cases for RenderTargets */
|
||||
if (This->resource.device->blit_priv && ((This->resource.usage & WINED3DUSAGE_RENDERTARGET)
|
||||
|| (src && (src->resource.usage & WINED3DUSAGE_RENDERTARGET))))
|
||||
if ((This->resource.usage & WINED3DUSAGE_RENDERTARGET)
|
||||
|| (src && (src->resource.usage & WINED3DUSAGE_RENDERTARGET)))
|
||||
{
|
||||
if (SUCCEEDED(IWineD3DSurfaceImpl_BltOverride(This, DestRect, src, SrcRect, flags, DDBltFx, Filter)))
|
||||
return WINED3D_OK;
|
||||
|
|
Loading…
Reference in New Issue