mgradwohl / ModernLife

Conway's Game of Life in C++/WinRT/WinAppSDK/WinUI 3
12 stars 3 forks source link

Mouse draw Pointer scaling is off #44

Closed mgradwohl closed 1 year ago

mgradwohl commented 1 year ago

Because the front buffer and back buffer are created at different DPI. I bet the cell is a delta of 96/_dpi from the mouse pointer. Either creat front buffer at same DPI or scale the points before they get sent to renderer method to find Grid

mgradwohl commented 1 year ago

Nope it's because the backbuffer was 2x the front buffer