1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-28 02:30:05 +00:00

Fix for android zero-height bitmap problem.

This commit is contained in:
jules 2012-11-04 16:48:09 +00:00
parent 45209b7946
commit 3374dff2aa
2 changed files with 2 additions and 2 deletions

View file

@ -410,7 +410,7 @@ public final class JuceAppActivity extends Activity
bounds.right++;
final int w = bounds.width();
final int h = bounds.height();
final int h = Math.max (1, bounds.height());
Bitmap bm = Bitmap.createBitmap (w, h, Bitmap.Config.ARGB_8888);