buffer counter is always initialized to zero in a3d

This commit is contained in:
codeanticode
2011-02-27 03:41:56 +00:00
parent 32cf2a4742
commit dbe5c2a549

View File

@@ -828,10 +828,8 @@ public class PGraphicsAndroid3D extends PGraphics {
if (geoBuffer == null) geoBuffer = new GeometryBuffer();
if (GEO_BUFFER_ACCUM_ALL) {
geoBuffer.init(TRIANGLES);
GEO_BUFFER_COUNT = 1;
} else{
GEO_BUFFER_COUNT = 0;
}
GEO_BUFFER_COUNT = 0;
GEO_BUFFER_SIZE = 0;
}