aboutsummaryrefslogtreecommitdiffstats
path: root/gpu/include/GrIndexBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/include/GrIndexBuffer.h')
-rw-r--r--gpu/include/GrIndexBuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/include/GrIndexBuffer.h b/gpu/include/GrIndexBuffer.h
index 09d1977..366640e 100644
--- a/gpu/include/GrIndexBuffer.h
+++ b/gpu/include/GrIndexBuffer.h
@@ -29,8 +29,8 @@ public:
*/
int maxQuads() const { return size() / (sizeof(uint16_t) * 6); }
protected:
- GrIndexBuffer(size_t sizeInBytes, bool dynamic) :
- INHERITED(sizeInBytes, dynamic) {}
+ GrIndexBuffer(GrGpu* gpu, size_t sizeInBytes, bool dynamic)
+ : INHERITED(gpu, sizeInBytes, dynamic) {}
private:
typedef GrGeometryBuffer INHERITED;
};