mirror of
https://github.com/whoahq/whoa.git
synced 2026-08-04 16:04:30 +03:00
fix(gx): correct failure to copy more than the first 4 bytes in Blit_uint32_uint32
This commit is contained in:
parent
57fbf42475
commit
8231f14cbc
@ -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…
Reference in New Issue
Block a user