mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 19:22:30 +00:00
fix(gx): fix Blit_uint32_uint32 when inStride != outStride
This commit is contained in:
parent
690a90a65b
commit
c721538698
3 changed files with 30 additions and 19 deletions
|
|
@ -53,7 +53,7 @@ void Blit_uint32_uint32(const C2iVector& size, const void* in, uint32_t inStride
|
|||
char* out_ = reinterpret_cast<char*>(out);
|
||||
|
||||
for (int32_t i = 0; i < size.y; i++) {
|
||||
memcpy(out, in, 4 * size.x);
|
||||
memcpy(out_, in_, 4 * size.x);
|
||||
in_ += inStride;
|
||||
out_ += outStride;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue