Index: gpu/include/GrTexture.h |
=================================================================== |
--- gpu/include/GrTexture.h (revision 2057) |
+++ gpu/include/GrTexture.h (working copy) |
@@ -64,7 +64,9 @@ |
* Approximate number of bytes used by the texture |
*/ |
virtual size_t sizeInBytes() const { |
- return fAllocatedWidth * fAllocatedHeight * GrBytesPerPixel(fConfig); |
+ return (size_t) fAllocatedWidth * |
+ fAllocatedHeight * |
+ GrBytesPerPixel(fConfig); |
} |
/** |