Use plain data arrays for Buffer storage
TRAC #12299
Signed-off-by: Andrew Lewycky
Signed-off-by: Daniel Koch

Author:    Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/trunk@299 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/Context.cpp b/src/libGLESv2/Context.cpp
index 942e0b8..480c688 100644
--- a/src/libGLESv2/Context.cpp
+++ b/src/libGLESv2/Context.cpp
@@ -929,7 +929,7 @@
 {
     if (buffer != 0 && !getBuffer(buffer))
     {
-        mBufferMap[buffer] = new Buffer(mBufferBackEnd);
+        mBufferMap[buffer] = new Buffer();
     }
 
     mState.arrayBuffer = buffer;
@@ -939,7 +939,7 @@
 {
     if (buffer != 0 && !getBuffer(buffer))
     {
-        mBufferMap[buffer] = new Buffer(mBufferBackEnd);
+        mBufferMap[buffer] = new Buffer();
     }
 
     mState.elementArrayBuffer = buffer;