mirror of
https://github.com/whoahq/whoa.git
synced 2026-12-04 03:27:17 +03:00
fix(gx): correct failure to copy more than the first 4 bytes in Blit_uint32_uint32
This commit is contained in:
1 parent
57fbf42475
commit
8231f14cbc
1 file changed
+1
-1
+1
-1
@@ -53,7 +53,7 @@ void Blit_uint32_uint32(const C2iVector& size, const void* in, uint32_t inStride
|
|||||||
char* out_ = reinterpret_cast<char*>(out);
|
char* out_ = reinterpret_cast<char*>(out);
|
||||||
|
|
||||||
for (int32_t i = 0; i < size.y; i++) {
|
for (int32_t i = 0; i < size.y; i++) {
|
||||||
memcpy(out, in, 4 * size.x);
|
memcpy(out_, in_, 4 * size.x);
|
||||||
in_ += inStride;
|
in_ += inStride;
|
||||||
out_ += outStride;
|
out_ += outStride;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user