Mercurial > repos > blastem
diff render.h @ 2308:b7768c58f0da
Initial stab at DPI scaling support
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 26 Mar 2023 22:39:18 -0700 |
parents | eb45ad9d8a3f |
children | a71176b9903d |
line wrap: on
line diff
--- a/render.h Thu Mar 23 22:38:51 2023 -0700 +++ b/render.h Sun Mar 26 22:39:18 2023 -0700 @@ -146,6 +146,8 @@ void render_set_external_sync(uint8_t ext_sync_on); void render_reset_mappings(void); void render_update_display(void); +int render_ui_to_pixels_x(int ui); +int render_ui_to_pixels_y(int ui); #ifndef IS_LIB uint8_t render_create_thread(render_thread *thread, const char *name, render_thread_fun fun, void *data); #endif