diff --git a/services/surfaceflinger/EventThread.h b/services/surfaceflinger/EventThread.h index f6bd676b3..35ac0c82a 100644 --- a/services/surfaceflinger/EventThread.h +++ b/services/surfaceflinger/EventThread.h @@ -104,7 +104,7 @@ private: // protected by mLock SortedVector< wp > mDisplayEventConnections; Vector< DisplayEventReceiver::Event > mPendingEvents; - DisplayEventReceiver::Event mVSyncEvent[HWC_DISPLAY_TYPES_SUPPORTED]; + DisplayEventReceiver::Event mVSyncEvent[HWC_NUM_DISPLAY_TYPES]; bool mUseSoftwareVSync; // for debugging