samrrr
Topic Author
Posts: 12
Joined: 05 Jul 2022, 12:39

Render random change scale DPI.

05 Jul 2022, 13:20

const float dpiScale = calculateDpiScale(windowSize);

m_view->SetScale(dpiScale);
DPI work ok. But when i resize window to smaller size its start random rescales x and y scale. Its result 1 of 20 frames rendered incorrect with random scale values.
 
User avatar
jsantos
Site Admin
Posts: 4822
Joined: 20 Jan 2012, 17:18
Contact:

Re: Render random change scale DPI.

05 Jul 2022, 16:49

Are you able to reproduce this in one of our examples and paste here the necessary changes? Thank you

Who is online

Users browsing this forum: No registered users and 7 guests