Skip to content

Commit 55e5e33

Browse files
authored
Update GPUImageRenderer.java
1 parent fd721c0 commit 55e5e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/jp/co/cyberagent/android/gpuimage/GPUImageRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public void run() {
239239
if (bitmap.getWidth() % 2 == 1) {
240240
resizedBitmap = Bitmap.createBitmap(bitmap.getWidth() + 1, bitmap.getHeight(),
241241
Bitmap.Config.ARGB_8888);
242-
resizedBitmap.setDensity(bitmap.getDensity());
242+
resizedBitmap.setDensity(bitmap.getDensity());
243243
Canvas can = new Canvas(resizedBitmap);
244244
can.drawARGB(0x00, 0x00, 0x00, 0x00);
245245
can.drawBitmap(bitmap, 0, 0, null);

0 commit comments

Comments
 (0)