Fix typos made during pixelDensity update

Fixes #5028
This commit is contained in:
Jakub Valtar
2017-04-25 23:49:18 +02:00
parent 6214d81b8d
commit a6f50d402a
2 changed files with 2 additions and 2 deletions

View File

@@ -1684,7 +1684,7 @@ public class PGraphicsJava2D extends PGraphics {
WritableRaster wr = image.getRaster();
if (tint) {
if (tintedTemp == null || tintedTemp.length != source.pixelWidth) {
tintedTemp = new int[source.pixelHeight];
tintedTemp = new int[source.pixelWidth];
}
int a2 = (tintColor >> 24) & 0xff;
// System.out.println("tint color is " + a2);