# SDL3 DPI aware rendering

**URL:** <https://discourse.libsdl.org/t/sdl3-dpi-aware-rendering/59075>\
**Category:** SDL Development\
**Created:** [April 6, 2025, 12:42pm UTC](https://discourse.libsdl.org/t/sdl3-dpi-aware-rendering/59075 "2025-04-06T12:42:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Igor\_Gutnik](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/i/9de053/32.png) [@Igor\_Gutnik](https://discourse.libsdl.org/u/Igor_Gutnik)\
**Post date:** [April 6, 2025, 12:42pm UTC](https://discourse.libsdl.org/t/sdl3-dpi-aware-rendering/59075/1 "2025-04-06T12:42:54Z")

</div>

Dear community!  
Where can I find working SDL3 example for DPI aware rendering?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Levo](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/l/6a8cbe/32.png) [@Levo](https://discourse.libsdl.org/u/Levo)\
**Post date:** [April 9, 2025, 1:36am UTC](https://discourse.libsdl.org/t/sdl3-dpi-aware-rendering/59075/2 "2025-04-09T01:36:49Z")

</div>

You don’t need one, or at least I didn’t. You pass in SDL\_WINDOW\_HIGH\_PIXEL\_DENSITY to create window and everything just works. Your fonts, textures and such might be a little blurry so you’d may want to use higher def. SDL3 prefers floats over ints so that might be another change you’d make. It’s really simple and you have nothing to worry about
