aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_embed_demo.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-10 11:55:36 -0500
committerDavid Robillard <d@drobilla.net>2023-01-10 11:55:36 -0500
commit604dbd1e736c88bbba36da4a9422615936b856d7 (patch)
treef9a83d772b83fdab1f2f5834291e43d9b566851b /examples/pugl_embed_demo.c
parent4e81c178ed8665c2f37fd6f3a35cd1a31598bc8d (diff)
downloadpugl-604dbd1e736c88bbba36da4a9422615936b856d7.tar.gz
pugl-604dbd1e736c88bbba36da4a9422615936b856d7.tar.bz2
pugl-604dbd1e736c88bbba36da4a9422615936b856d7.zip
Windows: Make puglGetScaleFactor always return a reasonable value
This guesses the likely scale factor when the view hasn't been realized (and so there's no real window to get information for). It may still be wrong for multiple display systems, but will always return some scale factor that "exists" on the system, and should always be correct when there's only one display.
Diffstat (limited to 'examples/pugl_embed_demo.c')
0 files changed, 0 insertions, 0 deletions