-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Labels
DS - CoreGraphicsmacOS/iOS/tvOS/watchOS/visionOS backendmacOS/iOS/tvOS/watchOS/visionOS backendbugSomething isn't workingSomething isn't working
Description
The macOS code in softbuffer 0.2.0 consults backingScaleFactor() only when the graphics context is created. This means that, assuming the application always renders an image of the window's physical size, the image will display at the wrong scale (half or double) if the window has been dragged between monitors with different scale factors. Instead, the scale factor should probably be consulted at every set_buffer() call.
madsmtm
Metadata
Metadata
Assignees
Labels
DS - CoreGraphicsmacOS/iOS/tvOS/watchOS/visionOS backendmacOS/iOS/tvOS/watchOS/visionOS backendbugSomething isn't workingSomething isn't working