Skip to content

Commit

Permalink
Merge from (root)
Browse files Browse the repository at this point in the history
  • Loading branch information
javafxports-github-bot committed Aug 21, 2018
2 parents 3934566 + b6e74fb commit 6169756
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public void getScreenCapture(int x, int y, int width, int height, int[] data, bo
int colStop = Math.min(x + width, scrWidth);
for (int row = y; row < rowStop; row++) {
for (int col = x; col < colStop; col++) {
data[row * scrWidth + col] = buffer.get(row * scrWidth + col);
data[(row - y) * (colStop - x) + (col - x)] = buffer.get(row * scrWidth + col);
}
}
}
Expand Down

0 comments on commit 6169756

Please sign in to comment.