Video: Fixed 270 degree rotation being mirrored
This commit is contained in:
parent
d014aed08d
commit
bf99f6a9ac
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ uint32_t * RotateFilter::ApplyFilter(uint32_t * inputArgbBuffer, uint32_t width,
|
|||
}
|
||||
} else if(_angle == 270) {
|
||||
for(uint32_t i = 0; i < height; i++) {
|
||||
for(uint32_t j = 0; j < width; j++) {
|
||||
for(int j = (int)width - 1; j >= 0; j--) {
|
||||
_outputBuffer[j*height + i] = *input;
|
||||
input++;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue