diff options
Diffstat (limited to 'gm/imagefromyuvtextures.cpp')
-rw-r--r-- | gm/imagefromyuvtextures.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gm/imagefromyuvtextures.cpp b/gm/imagefromyuvtextures.cpp index 0d2637cabe..c3184be1dd 100644 --- a/gm/imagefromyuvtextures.cpp +++ b/gm/imagefromyuvtextures.cpp @@ -1,4 +1,3 @@ - /* * Copyright 2015 Google Inc. * @@ -102,7 +101,7 @@ protected: for (int i = 0; i < 3; ++i) { SkASSERT(fYUVBmps[i].width() == SkToInt(fYUVBmps[i].rowBytes())); yuvHandles[i] = gpu->createTestingOnlyBackendTexture(fYUVBmps[i].getPixels(), - fYUVBmps[i].width(), + fYUVBmps[i].width(), fYUVBmps[i].height(), kAlpha_8_GrPixelConfig); } |