1
0
Fork 0
forked from suyu/suyu

service/vi: Correct initial width and height values

Based off RE, it appears that almost all display types seem to use
1920x1080 except for a few (null display, edid display).
This commit is contained in:
Lioncash 2019-01-02 16:14:40 -05:00
parent fe3bf4f075
commit 351f010cfc

View file

@ -44,10 +44,10 @@ struct DisplayInfo {
u64 max_layers{1}; u64 max_layers{1};
/// Maximum width in pixels. /// Maximum width in pixels.
u64 width{1280}; u64 width{1920};
/// Maximum height in pixels. /// Maximum height in pixels.
u64 height{720}; u64 height{1080};
}; };
static_assert(sizeof(DisplayInfo) == 0x60, "DisplayInfo has wrong size"); static_assert(sizeof(DisplayInfo) == 0x60, "DisplayInfo has wrong size");