-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-upload webgl texture data if context changes.
The editor disposes the canvas when going back to the file browser. This causes a new canvas to be created with a new WebGL context. We were caching images and their gl texture handles, which could belong to a previously created context. We now re-upload the texture data if we see the webgl context has changed. This fixes the issue where the wrong image would be used for the grid pattern behind a transparent artboard. Diffs= 7777300368 Re-upload webgl texture data if context changes. (#8655) Co-authored-by: Luigi Rosso <luigi-rosso@users.noreply.github.com>
- Loading branch information
1 parent
b0b8382
commit a76c5aa
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7986d64d8371531716ea3f038dcbec5da187e6cd | ||
7777300368cc4513c398054fe4df8b01188aec4b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters