erkkah / tigr

TIGR - the TIny GRaphics library for Windows, macOS, Linux, iOS and Android.
Other
761 stars 48 forks source link

Viewport size changes "randomly" when scale the window. #59

Closed RechieKho closed 10 months ago

RechieKho commented 10 months ago

https://github.com/erkkah/tigr/assets/50512341/79ebd894-7e71-4490-8f28-6c431e1578a2

I'm assuming that you want the viewport to fit to the window, so I guess this is a bug.

I run this example on MacBook Pro Apple M2 Ventura.

RechieKho commented 10 months ago

I just realised that it might be scaling to ensure pixel perfect.