diff options
Diffstat (limited to 'src/gpu/batches/GrTestBatch.h')
-rw-r--r-- | src/gpu/batches/GrTestBatch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/batches/GrTestBatch.h b/src/gpu/batches/GrTestBatch.h index b070bbaf75..9427504d2e 100644 --- a/src/gpu/batches/GrTestBatch.h +++ b/src/gpu/batches/GrTestBatch.h @@ -60,7 +60,7 @@ protected: const GrGeometryProcessor* geometryProcessor() const { return fGeometryProcessor; } private: - void onPrepareDraws(Target* target) override { + void onPrepareDraws(Target* target) const override { target->initDraw(fGeometryProcessor, this->pipeline()); this->generateGeometry(target); } @@ -72,7 +72,7 @@ private: return false; } - virtual void generateGeometry(Target*) = 0; + virtual void generateGeometry(Target*) const = 0; struct BatchTracker { GrColor fColor; |