Index: src/gpu/gl/GrGLTexture.cpp |
diff --git a/src/gpu/gl/GrGLTexture.cpp b/src/gpu/gl/GrGLTexture.cpp |
index 39a8d9279feef49637882b5e7a15a1c0e59305d5..44f5d899fe63cc0da174820346893ade7f000eea 100644 |
--- a/src/gpu/gl/GrGLTexture.cpp |
+++ b/src/gpu/gl/GrGLTexture.cpp |
@@ -20,7 +20,15 @@ GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& |
this->registerWithCache(); |
} |
-GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, Derived) |
+GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, |
+ bool wasMipMapDataProvided) |
+ : GrSurface(gpu, idDesc.fLifeCycle, desc) |
+ , INHERITED(gpu, idDesc.fLifeCycle, desc, wasMipMapDataProvided) { |
+ this->init(desc, idDesc); |
+ this->registerWithCache(); |
+} |
+ |
+ GrGLTexture::GrGLTexture(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, Derived) |
: GrSurface(gpu, idDesc.fLifeCycle, desc) |
, INHERITED(gpu, idDesc.fLifeCycle, desc) { |
this->init(desc, idDesc); |