WindowInfo: Add surface_scale field

This commit is contained in:
Connor McLaughlin
2020-07-01 00:35:19 +10:00
parent e374853cf5
commit bf08385051
7 changed files with 38 additions and 35 deletions

View File

@ -29,6 +29,7 @@ struct WindowInfo
void* window_handle = nullptr;
u32 surface_width = 0;
u32 surface_height = 0;
float surface_scale = 1.0f;
SurfaceFormat surface_format = SurfaceFormat::RGB8;
// Needed for macOS.