Index: src/gpu/gl/GrGLProgram.cpp |
diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp |
index c270858ec3cf82b3ed1b4184b849c550f0ae85db..3efe87cb9e7fc22eb865fe0a6b5d4d4e244266e2 100644 |
--- a/src/gpu/gl/GrGLProgram.cpp |
+++ b/src/gpu/gl/GrGLProgram.cpp |
@@ -142,7 +142,7 @@ void GrGLProgram::bindTextures(const GrProcessor& processor, |
} |
for (int i = 0; i < processor.numBuffers(); ++i) { |
const GrBufferAccess& access = processor.bufferAccess(i); |
- fGpu->bindTexelBuffer((*nextSamplerIdx)++, access.offsetInBytes(), access.texelConfig(), |
+ fGpu->bindTexelBuffer((*nextSamplerIdx)++, access.texelConfig(), |
static_cast<GrGLBuffer*>(access.buffer())); |
} |
} |