Index: src/gpu/gl/GrGLBufferImpl.cpp |
diff --git a/src/gpu/gl/GrGLBufferImpl.cpp b/src/gpu/gl/GrGLBufferImpl.cpp |
index 6cbf4e0d0eca4dde0274b31c3624a203f972cd9e..becc55ae6993dd61c5892b30615b0faf3461dfe0 100644 |
--- a/src/gpu/gl/GrGLBufferImpl.cpp |
+++ b/src/gpu/gl/GrGLBufferImpl.cpp |
@@ -99,11 +99,7 @@ bool GrGLBufferImpl::updateData(GrGLGpu* gpu, const void* src, size_t srcSizeInB |
} |
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; |
} |