fix: return error on texture data size mismatch instead of warning #716

Open
SakulFlee wants to merge 1 commit from fix/texture-size-mismatch-error into main
Owner

Previously, when texture pixel data size didn't match expected dimensions,
the code only logged a warning but proceeded to write the data anyway,
risking GPU buffer overflow or texture corruption. Now it returns a
DataSizeMismatch error with detailed information about the mismatch.

Previously, when texture pixel data size didn't match expected dimensions, the code only logged a warning but proceeded to write the data anyway, risking GPU buffer overflow or texture corruption. Now it returns a DataSizeMismatch error with detailed information about the mismatch.
fix: return error on texture data size mismatch instead of warning
Some checks failed
ci/woodpecker/push/linting Pipeline failed
a3c2b8980e
Previously, when texture pixel data size didn't match expected dimensions,
the code only logged a warning but proceeded to write the data anyway,
risking GPU buffer overflow or texture corruption. Now it returns a
DataSizeMismatch error with detailed information about the mismatch.
Some checks are pending
ci/woodpecker/push/linting Pipeline failed
ci/woodpecker/pr/test
Required
ci/woodpecker/pr/linting
Required
Some required checks are missing.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/texture-size-mismatch-error:fix/texture-size-mismatch-error
git switch fix/texture-size-mismatch-error
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SakulFlee/Orbital!716
No description provided.