Currently to capture a full screen (on Mac), I either need to write the width and height literals from the system settings or retrieve them from Winit. If you are already using the native platform windowing APIs under the hood, I think you should be able to provide an API to fill out the source_rect parameters dynamically.
Currently to capture a full screen (on Mac), I either need to write the width and height literals from the system settings or retrieve them from Winit. If you are already using the native platform windowing APIs under the hood, I think you should be able to provide an API to fill out the source_rect parameters dynamically.