OSDN Git Service

CalculateRenderState should have void return type
authorKevin Strasser <kevin.strasser@intel.com>
Thu, 17 May 2018 22:01:18 +0000 (15:01 -0700)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Sat, 19 May 2018 18:19:07 +0000 (11:19 -0700)
commit7ce193491b55f2bd0deb7ae87aa3235d46dd0fd8
tree635901c34b629ffc6df1bf96d2806d83bbe7f8f1
parentc72b95e622cf0c5a31f258851425070e24bf1f3c
CalculateRenderState should have void return type

This function can only return true so just drop the return type and
stop checking for false at call sites.

Jira: GSE-1597
Test: Build and boot on Android

Signed-off-by: Kevin Strasser <kevin.strasser@intel.com>
common/compositor/compositor.cpp
common/compositor/compositor.h