Index: src/gpu/GrDistanceFieldTextContext.cpp |
diff --git a/src/gpu/GrDistanceFieldTextContext.cpp b/src/gpu/GrDistanceFieldTextContext.cpp |
index f0915a7555d52d307698e2bd7675723e9fce4c11..acab0cf7681cfcc094144e34802262c451396bd0 100755 |
--- a/src/gpu/GrDistanceFieldTextContext.cpp |
+++ b/src/gpu/GrDistanceFieldTextContext.cpp |
@@ -74,7 +74,11 @@ GrDistanceFieldTextContext* GrDistanceFieldTextContext::Create(GrContext* contex |
bool enable) { |
GrDistanceFieldTextContext* textContext = SkNEW_ARGS(GrDistanceFieldTextContext, |
(context, gpuDevice, props, enable)); |
+#ifdef USE_BITMAP_TEXTBLOBS |
+ textContext->fFallbackTextContext = GrBitmapTextContextB::Create(context, gpuDevice, props); |
+#else |
textContext->fFallbackTextContext = GrBitmapTextContext::Create(context, gpuDevice, props); |
+#endif |
return textContext; |
} |