- Fixed bug introduced by removing a little bit too much from the rect drawers

This commit is contained in:
Magnus Norddahl 2017-11-22 19:02:25 +01:00
parent 9052ee6bc8
commit e7e9d1a942
3 changed files with 18 additions and 0 deletions

View file

@ -885,6 +885,12 @@ private:
uint32_t posV = startV;
for (int y = y0; y < y1; y++, posV += stepV)
{
int coreBlock = y / 8;
if (coreBlock % thread->num_cores != thread->core)
{
continue;
}
uint32_t *dest = ((uint32_t*)destOrg) + y * destPitch + x0;
uint32_t posU = startU;

View file

@ -901,6 +901,12 @@ private:
uint32_t posV = startV;
for (int y = y0; y < y1; y++, posV += stepV)
{
int coreBlock = y / 8;
if (coreBlock % thread->num_cores != thread->core)
{
continue;
}
uint32_t *dest = ((uint32_t*)destOrg) + y * destPitch + x0;
uint32_t posU = startU;

View file

@ -470,6 +470,12 @@ public:
uint32_t posV = startV;
for (int y = y0; y < y1; y++, posV += stepV)
{
int coreBlock = y / 8;
if (coreBlock % thread->num_cores != thread->core)
{
continue;
}
uint8_t *dest = ((uint8_t*)destOrg) + y * destPitch + x0;
uint32_t posU = startU;