Loading services/surfaceflinger/DisplayDevice.cpp +1 −2 Original line number Original line Diff line number Diff line Loading @@ -121,8 +121,7 @@ DisplayDevice::DisplayDevice( ANativeWindow* const window = mNativeWindow.get(); ANativeWindow* const window = mNativeWindow.get(); #ifdef USE_HWC2 #ifdef USE_HWC2 // Set defaultColorMode to SRGB if this device supports wide-color mActiveColorMode = HAL_COLOR_MODE_NATIVE; mActiveColorMode = (supportWideColor) ? HAL_COLOR_MODE_SRGB : HAL_COLOR_MODE_NATIVE; mDisplayHasWideColor = supportWideColor; mDisplayHasWideColor = supportWideColor; #else #else (void) supportWideColor; (void) supportWideColor; Loading Loading
services/surfaceflinger/DisplayDevice.cpp +1 −2 Original line number Original line Diff line number Diff line Loading @@ -121,8 +121,7 @@ DisplayDevice::DisplayDevice( ANativeWindow* const window = mNativeWindow.get(); ANativeWindow* const window = mNativeWindow.get(); #ifdef USE_HWC2 #ifdef USE_HWC2 // Set defaultColorMode to SRGB if this device supports wide-color mActiveColorMode = HAL_COLOR_MODE_NATIVE; mActiveColorMode = (supportWideColor) ? HAL_COLOR_MODE_SRGB : HAL_COLOR_MODE_NATIVE; mDisplayHasWideColor = supportWideColor; mDisplayHasWideColor = supportWideColor; #else #else (void) supportWideColor; (void) supportWideColor; Loading