Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Decal::UpdateSprite function #389

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Gusgo99
Copy link
Contributor

@Gusgo99 Gusgo99 commented Oct 22, 2024

Calling the Decal::UpdateSprite function wouldn't replace the sprite contents with the actual image drawn on the screen by the decal. Fixed the renderer implementation to read the texture back correctly.

…alls to glGetTexImage(reads a texture). Updates to sprites will read the contents of the decal back instead of reading the framebuffer.
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.

1 participant