| Summary: | [PATCH] emscripten: force resize event when pixel ratio changes | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Sebastian Krzyszkowiak <dos> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | Other | ||
| Attachments: |
0001-emscripten-force-resize-event-when-pixel-ratio-chang.patch
0001-emscripten-force-resize-event-when-pixel-ratio-chang.patch 0001-emscripten-force-resize-event-when-pixel-ratio-chang.patch |
||
Created attachment 3656 [details] 0001-emscripten-force-resize-event-when-pixel-ratio-chang.patch Updated to force only when pixel ratio has changed. https://github.com/emscripten-ports/SDL2/pull/76 Created attachment 3657 [details]
0001-emscripten-force-resize-event-when-pixel-ratio-chang.patch
Patch added, thanks! https://hg.libsdl.org/SDL/rev/b3c652757f97 |
Created attachment 3638 [details] 0001-emscripten-force-resize-event-when-pixel-ratio-chang.patch Without this, applications can't react to changed canvas size on window zoom.