fix OperationError: Failed to execute 'copyExternalImageToTexture' on 'GPUQueue': Copy rect is out of bounds of external image
This commit is contained in:
@@ -1060,6 +1060,9 @@ function PlayPageClient() {
|
|||||||
|
|
||||||
// 清理播放器资源的统一函数
|
// 清理播放器资源的统一函数
|
||||||
const cleanupPlayer = () => {
|
const cleanupPlayer = () => {
|
||||||
|
// 先清理Anime4K,避免GPU纹理错误
|
||||||
|
cleanupAnime4K();
|
||||||
|
|
||||||
if (artPlayerRef.current) {
|
if (artPlayerRef.current) {
|
||||||
try {
|
try {
|
||||||
// 在销毁前从弹幕插件读取最新配置并保存
|
// 在销毁前从弹幕插件读取最新配置并保存
|
||||||
|
|||||||
Reference in New Issue
Block a user