| Index: src/gpu/gl/GrGLBuffer.cpp
|
| diff --git a/src/gpu/gl/GrGLBuffer.cpp b/src/gpu/gl/GrGLBuffer.cpp
|
| index 787445e5589fff30949519419e6babcd97328e2b..24fd59267df44934a4d6afdd209b80c2c393bf26 100644
|
| --- a/src/gpu/gl/GrGLBuffer.cpp
|
| +++ b/src/gpu/gl/GrGLBuffer.cpp
|
| @@ -30,12 +30,6 @@
|
|
|
| GrGLBuffer* GrGLBuffer::Create(GrGLGpu* gpu, size_t size, GrBufferType intendedType,
|
| GrAccessPattern accessPattern, const void* data) {
|
| - if (gpu->glCaps().transferBufferType() == GrGLCaps::kNone_TransferBufferType &&
|
| - (kXferCpuToGpu_GrBufferType == intendedType ||
|
| - kXferGpuToCpu_GrBufferType == intendedType)) {
|
| - return nullptr;
|
| - }
|
| -
|
| bool cpuBacked = gpu->glCaps().useNonVBOVertexAndIndexDynamicData() &&
|
| GrBufferTypeIsVertexOrIndex(intendedType) &&
|
| kDynamic_GrAccessPattern == accessPattern;
|
|
|