diff options
Diffstat (limited to 'include/gpu/GrTypes.h')
-rw-r--r-- | include/gpu/GrTypes.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h index 97d6210259..3fec742907 100644 --- a/include/gpu/GrTypes.h +++ b/include/gpu/GrTypes.h @@ -376,9 +376,10 @@ enum GrSurfaceFlags { */ kPerformInitialClear_GrSurfaceFlag = 0x2 }; - GR_MAKE_BITFIELD_OPS(GrSurfaceFlags) +typedef GrSurfaceFlags GrSurfaceDescFlags; + // opaque type for 3D API object handles typedef intptr_t GrBackendObject; @@ -409,7 +410,7 @@ struct GrSurfaceDesc { , fConfig(kUnknown_GrPixelConfig) , fSampleCnt(1) {} - GrSurfaceFlags fFlags; //!< bitfield of TextureFlags + GrSurfaceDescFlags fFlags; //!< bitfield of TextureFlags int fWidth; //!< Width of the texture int fHeight; //!< Height of the texture |