| Index: include/gpu/GrContext.h
|
| diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
|
| index b28c444edc37d76118127c19d3fc6b68e4ce46f2..5b7ef25cedff043170e9edb36d194367e914953d 100644
|
| --- a/include/gpu/GrContext.h
|
| +++ b/include/gpu/GrContext.h
|
| @@ -213,7 +213,7 @@ public:
|
| GrTexture* createTexture(const GrTextureParams* params,
|
| const GrTextureDesc& desc,
|
| const GrCacheID& cacheID,
|
| - void* srcData,
|
| + const void* srcData,
|
| size_t rowBytes,
|
| GrResourceKey* cacheKey = NULL);
|
|
|
| @@ -1000,7 +1000,7 @@ private:
|
|
|
| GrTexture* createResizedTexture(const GrTextureDesc& desc,
|
| const GrCacheID& cacheID,
|
| - void* srcData,
|
| + const void* srcData,
|
| size_t rowBytes,
|
| bool filter);
|
|
|
|
|