1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 08:05:18 +02:00

SDL2: Support highdpi (#14703)

and handle DPI changes at runtime
This commit is contained in:
grorp
2024-06-16 17:49:42 +02:00
committed by GitHub
parent 7a64527db5
commit a9cca5e76c
12 changed files with 84 additions and 47 deletions

View File

@@ -205,6 +205,9 @@ enum EAPPLICATION_EVENT_TYPE
//! The application received a memory warning.
EAET_MEMORY_WARNING,
//! The display density changed (only works on SDL).
EAET_DPI_CHANGED,
//! No real event, but to get number of event types.
EAET_COUNT
};