Index: include/gpu/GrTypes.h |
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h |
index 22b2e224f6edd3dbe513adb6215d1502d569403a..7df2e6022134719ac746a5c64aec636bf44d064d 100644 |
--- a/include/gpu/GrTypes.h |
+++ b/include/gpu/GrTypes.h |
@@ -471,6 +471,7 @@ struct GrTextureDesc { |
, fOrigin(kDefault_GrSurfaceOrigin) |
, fWidth(0) |
, fHeight(0) |
+ , fDepth(0) |
, fConfig(kUnknown_GrPixelConfig) |
, fSampleCnt(0) { |
} |
@@ -479,6 +480,7 @@ struct GrTextureDesc { |
GrSurfaceOrigin fOrigin; //!< origin of the texture |
int fWidth; //!< Width of the texture |
int fHeight; //!< Height of the texture |
+ int fDepth; //!< Depth of the texture |
/** |
* Format of source data of the texture. Not guaranteed to be the same as |