diff options
author | Jody Northup | 2009-06-20 05:23:09 +0000 |
---|---|---|
committer | Jody Northup | 2009-06-20 05:23:09 +0000 |
commit | f7dd1c15ed38418a0371032966144eb6c2e004cb (patch) | |
tree | dc292bcaf9c657bd1db9efbc56195e70c578ea0e /graphics/pixelformat.h | |
parent | 8b6ed92376024f43876af93fdfccd72d6fc33ac0 (diff) | |
download | scummvm-rg350-f7dd1c15ed38418a0371032966144eb6c2e004cb.tar.gz scummvm-rg350-f7dd1c15ed38418a0371032966144eb6c2e004cb.tar.bz2 scummvm-rg350-f7dd1c15ed38418a0371032966144eb6c2e004cb.zip |
renamed ENABLE_16BIT define to more accurate ENABLE_RGB_COLOR
svn-id: r41696
Diffstat (limited to 'graphics/pixelformat.h')
-rw-r--r-- | graphics/pixelformat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/pixelformat.h b/graphics/pixelformat.h index 4ad1f8b400..7f7f2412cb 100644 --- a/graphics/pixelformat.h +++ b/graphics/pixelformat.h @@ -70,7 +70,7 @@ struct PixelFormat { static inline PixelFormat createFormatCLUT8() { return PixelFormat(1,8,8,8,8,0,0,0,0); } -#if (defined ENABLE_16BIT) || (defined ENABLE_32BIT) //TODO: more generic define instead of ENABLE_16BIT +#ifdef ENABLE_RGB_COLOR //2 Bytes-per-pixel modes static inline PixelFormat createFormatRGB555() { return PixelFormat(2,3,3,3,8,10,5,0,0); @@ -94,7 +94,7 @@ struct PixelFormat { return PixelFormat(4,0,0,0,0,24,16,8,0); } #endif //ENABLE_32BIT -#endif //ENABLE_16BIT or ENABLE_32BIT +#endif //ENABLE_RGB_COLOR inline bool operator==(const PixelFormat &fmt) const { // TODO: If aLoss==8, then the value of aShift is irrelevant, and should be ignored. |