Chromium Code Reviews| Index: include/gpu/GrTypes.h |
| =================================================================== |
| --- include/gpu/GrTypes.h (revision 11758) |
| +++ include/gpu/GrTypes.h (working copy) |
| @@ -315,7 +315,7 @@ |
| } |
| } |
| -static inline size_t GrBytesPerPixel(GrPixelConfig config) { |
| +static inline int GrBytesPerPixel(GrPixelConfig config) { |
|
bsalomon
2013/10/14 19:27:37
Hmm.. seems like this should be a size_t
robertphillips
2013/10/14 19:51:12
Done.
|
| switch (config) { |
| case kAlpha_8_GrPixelConfig: |
| case kIndex_8_GrPixelConfig: |