Skip to content

Copy texture to buffer without COPY_BYTES_PER_ROW_ALIGNMENT #2626

Answered by kvark
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

COPY_BYTES_PER_ROW_ALIGNMENT is not for a texture, it's for the buffer. You have to adjust bytes_per_row accordingly when placing this copy into a buffer.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant