Index: src/gpu/gl/GrGLTexture.cpp |
diff --git a/src/gpu/gl/GrGLTexture.cpp b/src/gpu/gl/GrGLTexture.cpp |
index 6f70d51a341279cfa62d618f341433bff015d42a..29f7423ba559156757c5a28db2bd4d816e0b0121 100644 |
--- a/src/gpu/gl/GrGLTexture.cpp |
+++ b/src/gpu/gl/GrGLTexture.cpp |
@@ -30,6 +30,7 @@ void GrGLTexture::init(const GrSurfaceDesc& desc, const IDDesc& idDesc) { |
SkASSERT(0 != idDesc.fTextureID); |
fTexParams.invalidate(); |
fTexParamsTimestamp = GrGpu::kExpiredTimestamp; |
+ fTarget = idDesc.fTarget; |
fTextureID = idDesc.fTextureID; |
fTextureIDLifecycle = idDesc.fLifeCycle; |
} |