Make emulator output size properly configurable
This commit is contained in:
@@ -105,6 +105,9 @@ std::optional<WindowInfo> ScreenWidget::getWindowInfo() {
|
||||
wi.surface_height = static_cast<u32>(scaledWindowHeight());
|
||||
wi.surface_scale = static_cast<float>(devicePixelRatioFromScreen());
|
||||
|
||||
surfaceWidth = wi.surface_width;
|
||||
surfaceHeight = wi.surface_height;
|
||||
|
||||
return wi;
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user