Skip to content

fix: setFrame() under WebGL environment renders the correct frame#7611

Open
swastikCommits wants to merge 1 commit intoprocessing:mainfrom
swastikCommits:fix/setFrame-not-rendering-correct-frame
Open

fix: setFrame() under WebGL environment renders the correct frame#7611
swastikCommits wants to merge 1 commit intoprocessing:mainfrom
swastikCommits:fix/setFrame-not-rendering-correct-frame

Conversation

@swastikCommits
Copy link
Contributor

Resolves #7370

Changes:
The core issue was missing texture updates in WEBGL. By adding the _modified flag and ensuring getTexture() triggers updates, the fix ensures the GPU texture stays in sync with the GIF animation.

Screenshots of the change:
None

PR Checklist

@swastikCommits
Copy link
Contributor Author

@davepagurek have a look into it, I am open to make further changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

setFrame() under WEBGL environment not rendering correct frame

1 participant