Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5c876fa6 authored by Saurabh Shah's avatar Saurabh Shah Committed by Jesse Hall
Browse files

SurfaceFlinger: EventThread: Fix Vsync array size.



Vsync array size is specified as HWC_DISPLAY_TYPES_SUPPORTED whose
value luckily happens to be 2. That enum is actually used for querying
hwc for the number of displays supported.

The implementation file EventThread.cpp correctly accesses the array
upto HWC_NUM_DISPLAY_TYPES

Change-Id: I36e3f0913e7d6fda7bbf4449c1fb32c7f18bb934
Signed-off-by: default avatarAmara Venkata Mastan Manoj <Kumar&lt;manojavm@codeaurora.org>
Signed-off-by: default avatarSaurabh Shah <saurshah@codeaurora.org>
parent bb7272f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment