Index: src/gpu/gl/GrGLRenderTarget.cpp |
diff --git a/src/gpu/gl/GrGLRenderTarget.cpp b/src/gpu/gl/GrGLRenderTarget.cpp |
index 49186bf3b3e0e120ceac8c3ba140b3d56ccbbd68..bcf6d711e5073c364966793667472a6014175996 100644 |
--- a/src/gpu/gl/GrGLRenderTarget.cpp |
+++ b/src/gpu/gl/GrGLRenderTarget.cpp |
@@ -25,11 +25,11 @@ void GrGLRenderTarget::init(const Desc& desc, |
} |
namespace { |
-GrTextureDesc MakeDesc(GrTextureFlags flags, |
+GrSurfaceDesc MakeDesc(GrSurfaceFlags flags, |
int width, int height, |
GrPixelConfig config, int sampleCnt, |
GrSurfaceOrigin origin) { |
- GrTextureDesc temp; |
+ GrSurfaceDesc temp; |
temp.fFlags = flags; |
temp.fWidth = width; |
temp.fHeight = height; |
@@ -49,7 +49,7 @@ GrGLRenderTarget::GrGLRenderTarget(GrGpuGL* gpu, |
: INHERITED(gpu, |
desc.fIsWrapped, |
texture, |
- MakeDesc(kNone_GrTextureFlags, |
+ MakeDesc(kNone_GrSurfaceFlags, |
viewport.fWidth, viewport.fHeight, |
desc.fConfig, desc.fSampleCnt, |
desc.fOrigin)) { |
@@ -72,7 +72,7 @@ GrGLRenderTarget::GrGLRenderTarget(GrGpuGL* gpu, |
: INHERITED(gpu, |
desc.fIsWrapped, |
NULL, |
- MakeDesc(kNone_GrTextureFlags, |
+ MakeDesc(kNone_GrSurfaceFlags, |
viewport.fWidth, viewport.fHeight, |
desc.fConfig, desc.fSampleCnt, |
desc.fOrigin)) { |