Index: tests/GrSurfaceTest.cpp |
diff --git a/tests/GrSurfaceTest.cpp b/tests/GrSurfaceTest.cpp |
index 285e9e8ad811c53bd7f56439269b2860ae7d7642..0b3948f1181e5bc0a3c3d70d6b4f87c5964db5dc 100644 |
--- a/tests/GrSurfaceTest.cpp |
+++ b/tests/GrSurfaceTest.cpp |
@@ -18,15 +18,15 @@ |
DEF_GPUTEST(GrSurface, reporter, factory) { |
GrContext* context = factory->get(GrContextFactory::kNull_GLContextType); |
if (context) { |
- GrTextureDesc desc; |
+ GrSurfaceDesc desc; |
desc.fConfig = kSkia8888_GrPixelConfig; |
- desc.fFlags = kRenderTarget_GrTextureFlagBit; |
+ desc.fFlags = kRenderTarget_GrSurfaceFlag; |
desc.fWidth = 256; |
desc.fHeight = 256; |
desc.fSampleCnt = 0; |
GrSurface* texRT1 = context->createUncachedTexture(desc, NULL, 0); |
GrSurface* texRT2 = context->createUncachedTexture(desc, NULL, 0); |
- desc.fFlags = kNone_GrTextureFlags; |
+ desc.fFlags = kNone_GrSurfaceFlags; |
GrSurface* tex1 = context->createUncachedTexture(desc, NULL, 0); |
REPORTER_ASSERT(reporter, texRT1->surfacePriv().isSameAs(texRT1)); |