fix for a small bug added in r3102

This commit is contained in:
nitsuja 2009-11-28 23:52:12 +00:00
parent f257f61412
commit a9cfa9ba4c
1 changed files with 1 additions and 1 deletions

View File

@ -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)