SDL2/src/video/emscripten
Sam Lantinga 824b9b0a58 Removed SDL_GetDisplayDPI()
This function wasn't consistently correct across platforms and devices.

If you want the UI scale factor, you can use display_scale in the structure returned by SDL_GetDesktopDisplayMode(). If you need an approximate DPI, you can multiply this value times 160 on iPhone and Android, and 96 on other platforms.
2023-02-08 17:35:54 -08:00
..
SDL_emscriptenevents.c Simplify flags testing (#7220) 2023-02-03 13:08:42 -08:00
SDL_emscriptenevents.h Displays are now referenced by instance ID instead of index 2023-01-29 19:25:15 -08:00
SDL_emscriptenframebuffer.c Displays are now referenced by instance ID instead of index 2023-01-29 19:25:15 -08:00
SDL_emscriptenframebuffer.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_emscriptenmouse.c Displays are now referenced by instance ID instead of index 2023-01-29 19:25:15 -08:00
SDL_emscriptenmouse.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_emscriptenopengles.c Change return type from void to int, for functions that set an error 2023-02-07 13:51:45 -08:00
SDL_emscriptenopengles.h Change return type from void to int, for functions that set an error 2023-02-07 13:51:45 -08:00
SDL_emscriptenvideo.c Removed SDL_GetDisplayDPI() 2023-02-08 17:35:54 -08:00
SDL_emscriptenvideo.h Displays are now referenced by instance ID instead of index 2023-01-29 19:25:15 -08:00