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_test_assert.c | ||
SDL_test_common.c | ||
SDL_test_compare.c | ||
SDL_test_crc32.c | ||
SDL_test_font.c | ||
SDL_test_fuzzer.c | ||
SDL_test_harness.c | ||
SDL_test_log.c | ||
SDL_test_md5.c | ||
SDL_test_memory.c | ||
SDL_test_random.c |