fix clear device texture on failed load
This commit is contained in:
parent
78799464ca
commit
05be06da1d
1 changed files with 1 additions and 0 deletions
|
|
@ -831,6 +831,7 @@
|
||||||
console.log({load_inc: inc});
|
console.log({load_inc: inc});
|
||||||
}, error => {
|
}, error => {
|
||||||
console.log({load_error: error});
|
console.log({load_error: error});
|
||||||
|
clearDeviceTexture();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue