mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-27 00:53:59 -05:00
commit
df7999c891
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ namespace bgfx
|
||||||
const uint8_t* next = src + _srcPitch;
|
const uint8_t* next = src + _srcPitch;
|
||||||
uint8_t* dst = (uint8_t*)_dst;
|
uint8_t* dst = (uint8_t*)_dst;
|
||||||
|
|
||||||
for (uint32_t yy = 0; yy < _height; ++yy, src = next, next += _srcPitch)
|
for (uint32_t yy = 0; yy < _height; ++yy, src = next, next += _srcPitch, dst += pitch)
|
||||||
{
|
{
|
||||||
memcpy(dst, src, pitch);
|
memcpy(dst, src, pitch);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue