Index: tests/FloatingPointTextureTest.cpp |
diff --git a/tests/FloatingPointTextureTest.cpp b/tests/FloatingPointTextureTest.cpp |
index 9ca34c8e813aaee32acbecfacc3a36e8eeadadc0..e058c1139c03d0dc2050948ff99ddb8d1f73eb21 100644 |
--- a/tests/FloatingPointTextureTest.cpp |
+++ b/tests/FloatingPointTextureTest.cpp |
@@ -39,8 +39,8 @@ DEF_GPUTEST(FloatingPointTextureTest, reporter, factory) { |
int glCtxTypeCnt = 1; |
glCtxTypeCnt = GrContextFactory::kGLContextTypeCnt; |
for (int glCtxType = 0; glCtxType < glCtxTypeCnt; ++glCtxType) { |
- GrTextureDesc desc; |
- desc.fFlags = kRenderTarget_GrTextureFlagBit; |
+ GrSurfaceDesc desc; |
+ desc.fFlags = kRenderTarget_GrSurfaceFlag; |
desc.fWidth = DEV_W; |
desc.fHeight = DEV_H; |
desc.fConfig = kRGBA_float_GrPixelConfig; |