Fix GrColorType name for half float RG.
Change-Id: I5428be31367fc85fb1fe4f98f4e7536f17c93f10
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/223301
Commit-Queue: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
diff --git a/src/gpu/GrSurfaceContext.cpp b/src/gpu/GrSurfaceContext.cpp
index 7cb8392..9110477 100644
--- a/src/gpu/GrSurfaceContext.cpp
+++ b/src/gpu/GrSurfaceContext.cpp
@@ -76,7 +76,7 @@
case GrColorType::kRG_1616: return false;
// Experimental (for Y416 and mutant P016/P010)
case GrColorType::kRGBA_16161616: return false;
- case GrColorType::kRG_half: return false;
+ case GrColorType::kRG_F16: return false;
}
SK_ABORT("Invalid GrColorType");
return false;