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 OpenGL layered 2D texture. #77987

Closed
wants to merge 1 commit into from
Closed

Fix OpenGL layered 2D texture. #77987

wants to merge 1 commit into from

Conversation

Jordyfel
Copy link
Contributor

@Jordyfel Jordyfel commented Jun 8, 2023

Fixes #77760.

Rationale for first change is that _texture_set_data() seems to expect a unique layer index for each layer.
For the second change, after looking up the OpenGL function, I came to the conclusion that 2D textures should have a depth of 1 in this method call.

@Jordyfel Jordyfel requested a review from a team as a code owner June 8, 2023 00:08
@Jordyfel
Copy link
Contributor Author

Jordyfel commented Jun 8, 2023

Seems I was too slow to the party

@Jordyfel Jordyfel closed this Jun 8, 2023
@Jordyfel Jordyfel deleted the texture_2d_layered_fix branch June 8, 2023 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Project manager crashes when opening in 4.1.dev4 due to OpenGL regression (Windows, AMD)
3 participants