Index: samplecode/SampleApp.cpp |
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp |
index c1905270af40a9704d02c3532d0b275a3b925d6e..e8146f058276ee012ced90ef50f6a0e50662259c 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 |