WindowInfo: Add surface_scale field

This commit is contained in:
Connor McLaughlin committed 2020-07-01 01:57:25 +10:00
1 parent e374853cf5
commit bf08385051
7 files changed
+38 -35

No files matched your search

+1
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.