Use the same screen width aligment with both VMMs
Bug: 129990504
Test: run locally with different resolutions
Change-Id: Ied9c04a16db66b84a193c052da7e469023a8e086
diff --git a/common/vsoc/lib/screen_region_view.h b/common/vsoc/lib/screen_region_view.h
index 9092986..b439eea 100644
--- a/common/vsoc/lib/screen_region_view.h
+++ b/common/vsoc/lib/screen_region_view.h
@@ -95,7 +95,7 @@
static constexpr int kGreenBits = 8;
static constexpr int kBlueBits = 8;
static constexpr uint32_t kFbPixelFormat = vsoc::VSOC_PIXEL_FORMAT_RGBA_8888;
- static constexpr int kAlignment = 8;
+ static constexpr int kAlignment = 16;
protected:
const uint8_t* first_buffer() const;