Skip to content

Ensure sub array images are cleared - #1836

Merged
nstlaurent merged 1 commit into
devfrom
clear-image-array
Oct 9, 2026
Merged

nstlaurent merged 1 commit into
devfrom
clear-image-array

Conversation

@nstlaurent

Copy link
Copy Markdown
Collaborator

Clear each sub image before drawing on top. Smaller textures would leave any previous pixel data if it was larger and certain textures at view distances could cause sampling to pull pixels that wasn't intended.

Includes removing function call overhead to Width/Height and added a direct Get/SetPixelUint to speed up initialization a little bit.

@nstlaurent
nstlaurent merged commit 250d367 into dev Oct 9, 2026
1 check passed
@nstlaurent
nstlaurent deleted the clear-image-array branch October 9, 2026 17:33
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