vertices became smaller, decrease poolitem size
This commit is contained in:
parent
18d10e744c
commit
2f0270e696
@ -24,6 +24,6 @@ public class ShortItem {
|
||||
used = 0;
|
||||
}
|
||||
|
||||
// must be multiple of 6 and 4 (expected in LineLayer/PolygonLayer)
|
||||
static final int SIZE = 480;
|
||||
// must be multiple of 4 (expected in LineLayer/PolygonLayer)
|
||||
static final int SIZE = 256;
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ package org.mapsforge.android.glrenderer;
|
||||
import android.util.Log;
|
||||
|
||||
public class ShortPool {
|
||||
private static final int POOL_LIMIT = 2500;
|
||||
private static final int POOL_LIMIT = 6000;
|
||||
|
||||
static private ShortItem pool = null;
|
||||
static private int count = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user