Skip to content
Browse files

Removes commented-out code.

  • Loading branch information...
1 parent c031116 commit ae3a34345288c9f504cf0f871db0b1b3a38fb5f3 @artgillespie committed
Showing with 0 additions and 4 deletions.
  1. +0 −4 OGImage/OGImageProcessing.m
View
4 OGImage/OGImageProcessing.m
@@ -236,10 +236,6 @@ - (void)scaleImage:(__OGImage *)image toSize:(CGSize)size cornerRadius:(CGFloat)
if (0.f < offset.x) {
dBuffer.data = dBuffer.data + ((int)offset.x * 4);
dBuffer.width = toSize.width;
- // this makes the difference for <https://github.com/origamilabs/OGImage/issues/7)>
- // which kinda makes sense: depending on how CGBitmapContext treats the underlying
- // buffer, a copy could run past the end of the buffer's data (i.e. offset + rowBytes)
- // dBuffer.height -= 1;
} else if (0.f < offset.y) {
int row_offset = (int)offset.y;
row_offset *= dBuffer.rowBytes;

0 comments on commit ae3a343

Please sign in to comment.
Something went wrong with that request. Please try again.