use any (direct) ByteBuffer

This commit is contained in:
Hannes Janetzek 2013-06-07 16:57:28 +02:00
parent ee054d1bf9
commit ed329aac52

View File

@ -15,7 +15,7 @@
package org.oscim.renderer;
import java.nio.ShortBuffer;
import java.nio.Buffer;
import android.opengl.GLES20;
import android.util.Log;
@ -39,7 +39,7 @@ public final class BufferObject {
int bufferType;
public void loadBufferData(ShortBuffer buf, int newSize, int type) {
public void loadBufferData(Buffer buf, int newSize, int type) {
boolean clear = false;
if (type != bufferType) {