mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-27 17:47:34 +09:00
I GOT IT WORKING YAYYYYY
This commit is contained in:
parent
a835672d9b
commit
c2e913898b
1 changed files with 0 additions and 5 deletions
|
|
@ -204,11 +204,6 @@ TextureHost::Create(const SurfaceDescriptor& aDesc,
|
||||||
|
|
||||||
#ifdef MOZ_X11
|
#ifdef MOZ_X11
|
||||||
case SurfaceDescriptor::TSurfaceDescriptorX11: {
|
case SurfaceDescriptor::TSurfaceDescriptorX11: {
|
||||||
if (!aDeallocator->IsSameProcess()) {
|
|
||||||
NS_ERROR("A client process is trying to peek at our address space using a X11Texture!");
|
|
||||||
return nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
const SurfaceDescriptorX11& desc = aDesc.get_SurfaceDescriptorX11();
|
const SurfaceDescriptorX11& desc = aDesc.get_SurfaceDescriptorX11();
|
||||||
return MakeAndAddRef<X11TextureHost>(aFlags, desc);
|
return MakeAndAddRef<X11TextureHost>(aFlags, desc);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue