824b9b0a58
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. |
||
---|---|---|
.. | ||
SDL_emscriptenevents.c | ||
SDL_emscriptenevents.h | ||
SDL_emscriptenframebuffer.c | ||
SDL_emscriptenframebuffer.h | ||
SDL_emscriptenmouse.c | ||
SDL_emscriptenmouse.h | ||
SDL_emscriptenopengles.c | ||
SDL_emscriptenopengles.h | ||
SDL_emscriptenvideo.c | ||
SDL_emscriptenvideo.h |