fix for a small bug added in r3102
This commit is contained in:
parent
f257f61412
commit
a9cfa9ba4c
|
@ -936,7 +936,7 @@ template<typename T> static void doRotate(void* dst)
|
||||||
else
|
else
|
||||||
for(int y = 0; y < height; y++)
|
for(int y = 0; y < height; y++)
|
||||||
{
|
{
|
||||||
memcpy(buffer, src, width * sizeof(u32));
|
memcpy(buffer, &src[y * width], width * sizeof(u32));
|
||||||
buffer += pitch;
|
buffer += pitch;
|
||||||
}
|
}
|
||||||
else // if(video.rotation==180)
|
else // if(video.rotation==180)
|
||||||
|
|
Loading…
Reference in New Issue