Creating functions for uploading a mipmapped texture.
BUG=476416
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1249543003
Review URL: https://codereview.chromium.org/1249543003
diff --git a/src/gpu/GrSurface.cpp b/src/gpu/GrSurface.cpp
index 382550e..886945c 100644
--- a/src/gpu/GrSurface.cpp
+++ b/src/gpu/GrSurface.cpp
@@ -100,8 +100,8 @@
if (nullptr == context) {
return false;
}
- return context->writeSurfacePixels(this, left, top, width, height, config, buffer, rowBytes,
- pixelOpsFlags);
+ return context->writeSurfacePixels(this, left, top, width, height, config, buffer,
+ rowBytes, pixelOpsFlags);
}
bool GrSurface::readPixels(int left, int top, int width, int height,