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

Properly check for uninitialized texture in CopyTexture class. #827

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

kblaschke
Copy link
Member

Before rendering the first frame, there is no output texture present in a preset, so we can't copy anything and should just skip that step.

Fixes #823.

@kblaschke kblaschke added this to the 4.2 milestone Jul 12, 2024
@kblaschke kblaschke self-assigned this Jul 12, 2024
Before rendering the first frame, there is no output texture present in a preset, so we can't copy anything and should just skip that step.
@kblaschke kblaschke force-pushed the fix-gl-invalid-enum-error-on-first-frame branch from 301222e to 4e9040f Compare July 12, 2024 12:25
@kblaschke kblaschke merged commit 4e9040f into master Jul 12, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

GL_INVALID_ENUM error on transition to the first preset
2 participants