|
@@ -58,7 +58,8 @@ import com.jme3.renderer.android.AndroidGL;
|
|
|
import com.jme3.renderer.opengl.*;
|
|
|
import com.jme3.system.*;
|
|
|
import com.jme3.util.BufferAllocatorFactory;
|
|
|
-import com.jme3.util.AndroidNativeBufferAllocator;
|
|
|
+import com.jme3.util.PrimitiveAllocator;
|
|
|
+
|
|
|
import java.util.concurrent.atomic.AtomicBoolean;
|
|
|
import java.util.logging.Level;
|
|
|
import java.util.logging.Logger;
|
|
@@ -85,7 +86,7 @@ public class OGLESContext implements JmeContext, GLSurfaceView.Renderer, SoftTex
|
|
|
final String implementation = BufferAllocatorFactory.PROPERTY_BUFFER_ALLOCATOR_IMPLEMENTATION;
|
|
|
|
|
|
if (System.getProperty(implementation) == null) {
|
|
|
- System.setProperty(implementation, AndroidNativeBufferAllocator.class.getName());
|
|
|
+ System.setProperty(implementation, PrimitiveAllocator.class.getName());
|
|
|
}
|
|
|
}
|
|
|
|