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

Check device texture size limits in RenderingDevice::texture_create #93819

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

Carbonyte
Copy link
Contributor

Fixes #93798.

The actual limit may be higher on a per-format basis, but as this information isn't exposed to GDScript I opted to use the global limits.

@Carbonyte Carbonyte requested a review from a team as a code owner July 1, 2024 16:11
@akien-mga akien-mga added this to the 4.3 milestone Jul 1, 2024
@Carbonyte Carbonyte force-pushed the check-device-limits branch 2 times, most recently from 4a13d49 to 809b94b Compare July 1, 2024 16:38
@clayjohn clayjohn modified the milestones: 4.3, 4.4 Jul 24, 2024
@clayjohn clayjohn added the cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release label Jul 24, 2024
Copy link
Member

@clayjohn clayjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@akien-mga akien-mga force-pushed the check-device-limits branch from 809b94b to 16ee2f2 Compare December 2, 2024 13:30
@akien-mga
Copy link
Member

Rebased and amended with suggested style improvements.

@akien-mga akien-mga merged commit 6b90d24 into godotengine:master Dec 2, 2024
20 checks passed
@akien-mga
Copy link
Member

Thanks! And congrats for your first merged Godot contribution 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release topic:rendering
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RenderingDevice.texture_create does not respect LIMIT_MAX_TEXTURE_SIZE
5 participants