mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1213429 - GCC compilation fixup.
This commit is contained in:
parent
fd47c349bc
commit
350ad1813d
@ -434,7 +434,7 @@ DataTextureSourceD3D9::Update(gfx::DataSourceSurface* aSurface,
|
||||
HRESULT hr = srcSurface->LockRect(&rect, nullptr, 0);
|
||||
if (FAILED(hr) || !rect.pBits) {
|
||||
gfxCriticalError() << "Failed to lock rect initialize texture in D3D9 " << hexa(hr);
|
||||
return nullptr;
|
||||
return false;
|
||||
}
|
||||
|
||||
for (auto iter = regionToUpdate.RectIter(); !iter.Done(); iter.Next()) {
|
||||
|
Loading…
Reference in New Issue
Block a user