add null check

This commit is contained in:
Hannes Janetzek 2013-01-30 03:59:18 +01:00
parent 836f0ea82b
commit 6f98e1542b

View File

@ -61,6 +61,9 @@ public final class BufferObject {
}
public static synchronized void release(BufferObject bo) {
if (bo == null)
return;
//if (counter > 200) {
// Log.d(TAG, "should clear some buffers " + counter);
//}