Skip to content

Commit

Permalink
Catch async error in readTextureAsync (#7173)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamdon authored and slimbuck committed Dec 9, 2024
1 parent 717cc9a commit 548040c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/graphics/webgl/webgl-graphics-device.js
Original file line number Diff line number Diff line change
Expand Up @@ -2059,7 +2059,7 @@ class WebglGraphicsDevice extends GraphicsDevice {
renderTarget.destroy();
}
resolve(data);
});
}).catch(reject);
});
}

Expand Down

0 comments on commit 548040c

Please sign in to comment.