diff options
author | Chia-I Wu <olv@google.com> | 2018-02-20 14:27:30 -0800 |
---|---|---|
committer | Chia-I Wu <olv@google.com> | 2018-02-28 08:47:09 -0800 |
commit | 9a48a8c84bf84dff2aaf51a011b5810d89dddc32 (patch) | |
tree | 7e535761acd026d8adb145ae5340e75331c0db7c /opengl/tests/gl_basic/gl_basic.cpp | |
parent | 69bf10f5ea9b8abce49d49235630388dd57d3e62 (diff) |
surfaceflinger: simplify getActiveColorMode check
When mForceNativeColorMode is true, getActiveColorMode returns
HAL_COLOR_MODE_NATIVE. There is no need to check both.
Test: manual with UiBench
Change-Id: I3bbf66d85ccb262441b9d216096ec869c529b7e8
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions