diff options
Diffstat (limited to 'gm/samplerstress.cpp')
-rw-r--r-- | gm/samplerstress.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gm/samplerstress.cpp b/gm/samplerstress.cpp index 4329f12470..93a26dd49c 100644 --- a/gm/samplerstress.cpp +++ b/gm/samplerstress.cpp @@ -12,13 +12,13 @@ namespace skiagm { -/** +/** * Stress test the samplers by rendering a textured glyph with a mask and * an AA clip */ class SamplerStressGM : public GM { public: - SamplerStressGM() + SamplerStressGM() : fTextureCreated(false) , fShader(NULL) , fMaskFilter(NULL) { @@ -47,7 +47,7 @@ protected: static const int xSize = 16; static const int ySize = 16; - fTexture.setConfig(SkBitmap::kARGB_8888_Config, + fTexture.setConfig(SkBitmap::kARGB_8888_Config, xSize, ySize, xSize*sizeof(SkColor)); |