Closed terrorfisch closed 3 months ago
- Is the optional
WindowSize
member ofSurface
the way to go to represent a minimized/non-existing render target
It could be due to headless rendering or Android. Android is very specific in which order surfaces and the rendering context is initialized.
@terrorfisch Hi! Are you still interested in pushing this forward? :) I think the conflicts should be rather easily resolvable. If not I can also assist.
@terrorfisch I would still love to merge this :)
maybe this is fixed by now. I upgraded winit and if ofc changed its whole API 😅
Closing in favor of https://github.com/maplibre/maplibre-rs/pull/315
Fixes #274
💻 Examples
Minimize the window or resize it to
y==0
. This previously crashed the demo.✔️ PR Todo
todo!
s remaining that are not handled yet because I do not understand if these cases can occure at all. It feels like failable projection inversion is only a crutch.WindowSize
member ofSurface
the way to go to represent a minimized/non-existing render target