mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 974841 - Fix TextureClientX11::Lock. r=jrmuizel
This commit is contained in:
parent
c40bfc6b23
commit
e6f2d98eed
@ -41,8 +41,8 @@ TextureClientX11::Lock(OpenMode aMode)
|
||||
{
|
||||
// XXX - Turn this into a fatal assertion as soon as Bug 952507 is fixed
|
||||
NS_WARN_IF_FALSE(!mLocked, "The TextureClient is already Locked!");
|
||||
mLocked = true;
|
||||
return IsValid() && IsAllocated();
|
||||
mLocked = IsValid() && IsAllocated();
|
||||
return mLocked;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user