Index: tests/FloatingPointTextureTest.cpp |
diff --git a/tests/FloatingPointTextureTest.cpp b/tests/FloatingPointTextureTest.cpp |
index 3bc87f61028e9c01aaa671aadef887a58557c18a..7ac27cb6a4805fbe60caaa10ec8d1f855d7db887 100644 |
--- a/tests/FloatingPointTextureTest.cpp |
+++ b/tests/FloatingPointTextureTest.cpp |
@@ -59,8 +59,8 @@ DEF_GPUTEST(FloatingPointTextureTest, reporter, factory) { |
continue; |
} |
- SkAutoTUnref<GrTexture> fpTexture( |
- context->createUncachedTexture(desc, controlPixelData.begin(), 0)); |
+ SkAutoTUnref<GrTexture> fpTexture(context->createTexture(desc, false, |
+ controlPixelData.begin(), 0)); |
// Floating point textures are NOT supported everywhere |
if (NULL == fpTexture) { |
continue; |
@@ -106,8 +106,8 @@ DEF_GPUTEST(HalfFloatTextureTest, reporter, factory) { |
continue; |
} |
- SkAutoTUnref<GrTexture> fpTexture( |
- context->createUncachedTexture(desc, controlPixelData.begin(), 0)); |
+ SkAutoTUnref<GrTexture> fpTexture(context->createTexture(desc, false, |
+ controlPixelData.begin(), 0)); |
// 16-bit floating point textures are NOT supported everywhere |
if (NULL == fpTexture) { |
continue; |