summaryrefslogtreecommitdiff
path: root/core/fxcodec
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcodec')
-rw-r--r--core/fxcodec/codec/fx_codec_progress.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fxcodec/codec/fx_codec_progress.cpp b/core/fxcodec/codec/fx_codec_progress.cpp
index 0f2f56122b..d93d46d57a 100644
--- a/core/fxcodec/codec/fx_codec_progress.cpp
+++ b/core/fxcodec/codec/fx_codec_progress.cpp
@@ -22,11 +22,11 @@
namespace {
-#if _FX_OS_ == _FX_MACOSX_ || _FX_OS_ == _FX_IOS_
+#if _FX_OS_ == _FX_MACOSX_
const double kPngGamma = 1.7;
-#else // _FX_OS_ == _FX_MACOSX_ || _FX_OS_ == _FX_IOS_
+#else // _FX_OS_ == _FX_MACOSX_
const double kPngGamma = 2.2;
-#endif // _FX_OS_ == _FX_MACOSX_ || _FX_OS_ == _FX_IOS_
+#endif // _FX_OS_ == _FX_MACOSX_
void RGB2BGR(uint8_t* buffer, int width = 1) {
if (buffer && width > 0) {