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:
parent
45209b7946
commit
3374dff2aa
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue