enableTexCoords(true);
int[] mapData = new int[mSpriteBatchDrawCount * 8];
System.arraycopy(mSpriteBatchData, 0, mapData, 0, mapData.length);
WebGLBuffer buffer = mGlContext.createBuffer();
mGlContext.bindBuffer(WebGLRenderingContext.ARRAY_BUFFER, buffer);
mGlContext.bufferData(WebGLRenderingContext.ARRAY_BUFFER, Int16Array.create(mapData), WebGLRenderingContext.STREAM_DRAW);
mGlContext.vertexAttribPointer(mCurrentShader.getAPosition(), 2, WebGLRenderingContext.SHORT, false, 8, 0);
mGlContext.vertexAttribPointer(mCurrentShader.getATexCoord(), 2, WebGLRenderingContext.SHORT, false, 8, 4);