mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
Bug 1388020. r=nical, a=RyanVM
This commit is contained in:
parent
55bde34653
commit
e3e79721f6
6 changed files with 41 additions and 6 deletions
|
|
@ -149,6 +149,9 @@ BasicTextureImage::DirectUpdate(gfx::DataSourceSurface* aSurf, const nsIntRegion
|
|||
&uploadSize,
|
||||
needInit,
|
||||
aFrom);
|
||||
if (mTextureFormat == SurfaceFormat::UNKNOWN) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (uploadSize > 0) {
|
||||
UpdateUploadSize(uploadSize);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue