Index: tests/GrSurfaceTest.cpp |
diff --git a/tests/GrSurfaceTest.cpp b/tests/GrSurfaceTest.cpp |
index 1e21df19723e3925fdd1bd05edbb46c9b8163c13..094ca7829a4196175c6b11e2df6951dbfc2b8ed6 100644 |
--- a/tests/GrSurfaceTest.cpp |
+++ b/tests/GrSurfaceTest.cpp |
@@ -27,7 +27,7 @@ DEF_GPUTEST(GrSurface, reporter, factory) { |
desc.fWidth = 256; |
desc.fHeight = 256; |
desc.fSampleCnt = 0; |
- GrSurface* texRT1 = context->createUncachedTexture(desc, NULL, 0); |
+ GrSurface* texRT1 = context->createTexture(desc, false, NULL, 0); |
REPORTER_ASSERT(reporter, texRT1 == texRT1->asRenderTarget()); |
REPORTER_ASSERT(reporter, texRT1 == texRT1->asTexture()); |
@@ -39,7 +39,7 @@ DEF_GPUTEST(GrSurface, reporter, factory) { |
static_cast<GrSurface*>(texRT1->asTexture())); |
desc.fFlags = kNone_GrSurfaceFlags; |
- GrSurface* tex1 = context->createUncachedTexture(desc, NULL, 0); |
+ GrSurface* tex1 = context->createTexture(desc, false, NULL, 0); |
REPORTER_ASSERT(reporter, NULL == tex1->asRenderTarget()); |
REPORTER_ASSERT(reporter, tex1 == tex1->asTexture()); |
REPORTER_ASSERT(reporter, static_cast<GrSurface*>(tex1) == tex1->asTexture()); |