diff options
Diffstat (limited to 'samplecode/SampleApp.cpp')
| -rw-r--r-- | samplecode/SampleApp.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp index c1905270af..e8146f0582 100644 --- a/samplecode/SampleApp.cpp +++ b/samplecode/SampleApp.cpp @@ -298,10 +298,8 @@ public: SkImageInfo2GrPixelConfig(bm.colorType(), bm.alphaType()), bm.getPixels(), - bm.rowBytes()); - - // extra flush call, until Brian can figure out what's going on. - fCurContext->flush(); + bm.rowBytes(), + GrContext::kFlushWrites_PixelOp); } } #endif |
