mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 629866 - Part 10: Do not upload during SetData call on D3D9. r=jrmuizel a=blocking-final
This commit is contained in:
parent
265dd7c2c2
commit
1875232a5d
@ -622,10 +622,6 @@ CairoImageD3D9::SetData(const CairoImage::Data &aData)
|
|||||||
mSize = aData.mSize;
|
mSize = aData.mSize;
|
||||||
mCachedSurface = aData.mSurface;
|
mCachedSurface = aData.mSurface;
|
||||||
mTexture = NULL;
|
mTexture = NULL;
|
||||||
|
|
||||||
// Try to upload the surface immediately, so that we don't block the
|
|
||||||
// rendering pipeline at paint time.
|
|
||||||
(void) GetOrCreateTexture();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
IDirect3DTexture9*
|
IDirect3DTexture9*
|
||||||
|
Loading…
Reference in New Issue
Block a user