Is this SkDebug important? It drives me nuts.
BUG=skia:
R=bsalomon@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/310113006
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index 7514359..8d3f75a 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -1651,14 +1651,14 @@
SkPaint2GrPaintShader(this->context(), paint, NULL == colors, &grPaint);
}
+#if 0
if (NULL != xmode && NULL != texs && NULL != colors) {
if (!SkXfermode::IsMode(xmode, SkXfermode::kModulate_Mode)) {
SkDebugf("Unsupported vertex-color/texture xfer mode.\n");
-#if 0
- return
-#endif
+ return;
}
}
+#endif
SkAutoSTMalloc<128, GrColor> convertedColors(0);
if (NULL != colors) {