hwc: remove obsolete check for HWC 1.0 composition target
authorGreg Hackmann <ghackmann@google.com>
Wed, 6 Mar 2013 18:06:23 +0000 (10:06 -0800)
committerGreg Hackmann <ghackmann@google.com>
Wed, 6 Mar 2013 18:06:23 +0000 (10:06 -0800)
Change-Id: Iba61c14c8dc238e5ff33c30e2739f61aaa103871
Signed-off-by: Greg Hackmann <ghackmann@google.com>
libhwc/hwc.cpp

index f0050d0999f633cc2efcaf9d12c1ddc864c1eb1b..ef0fbd9fbc79d2b47d725442c524fded5e2bed4d 100644 (file)
@@ -1490,9 +1490,6 @@ static int exynos5_clear_fimd(exynos5_hwc_composer_device_1_t *pdev)
 static int exynos5_set_fimd(exynos5_hwc_composer_device_1_t *pdev,
         hwc_display_contents_1_t* contents)
 {
-    if (!contents->dpy || !contents->sur)
-        return 0;
-
     hwc_layer_1_t *fb_layer = NULL;
     int err = 0;