| Index: src/gpu/gl/GrGLBufferImpl.cpp
|
| diff --git a/src/gpu/gl/GrGLBufferImpl.cpp b/src/gpu/gl/GrGLBufferImpl.cpp
|
| index becc55ae6993dd61c5892b30615b0faf3461dfe0..6cbf4e0d0eca4dde0274b31c3624a203f972cd9e 100644
|
| --- a/src/gpu/gl/GrGLBufferImpl.cpp
|
| +++ b/src/gpu/gl/GrGLBufferImpl.cpp
|
| @@ -99,7 +99,11 @@
|
| }
|
| gpu->bufferData(fDesc.fID, fBufferType, fDesc.fDynamic, fDesc.fSizeInBytes, src,
|
| srcSizeInBytes);
|
| +#if GR_GL_USE_BUFFER_DATA_NULL_HINT
|
| + fGLSizeInBytes = fDesc.fSizeInBytes;
|
| +#else
|
| fGLSizeInBytes = srcSizeInBytes;
|
| +#endif
|
| VALIDATE();
|
| return true;
|
| }
|
|
|