mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +09:00
Fix "about:support"s "graphics" section when "webgl.disable-extensions" is true
This commit is contained in:
parent
3291587c08
commit
aba5754bf1
1 changed files with 3 additions and 1 deletions
|
|
@ -460,7 +460,9 @@ var dataProviders = {
|
|||
|
||||
// Eagerly free resources.
|
||||
let loseExt = gl.getExtension("WEBGL_lose_context");
|
||||
loseExt.loseContext();
|
||||
if (loseExt) {
|
||||
loseExt.loseContext();
|
||||
}
|
||||
|
||||
|
||||
return contextInfo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue