vlang / v

Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io
MIT License
35.7k stars 2.16k forks source link

examples/gg/rotating_textured_quad.v runs ugly ... ? #15636

Closed GaraSharp closed 1 year ago

GaraSharp commented 2 years ago

My MacBook Air is not Retina Display, but API ( v/thirdparty/sokol/sokol_app.h ? D.K...) returns that gg.high_dpi() is true ... why ?

I used elder MacBook Air (11-inch, Mid 2013) with Mac OS BigSur. This is NOT retina display. But, v run examples/gg/rotating_textured_quad.v, V logo's size as half and rotates left upper quadrant of window !

examine these values in the code :

gg.high_dpi() = true
gg.dpi_scale() = 2

elder machinea will lose patch or any idea ? thanks !

screen shot 2022-08-30 18 02 00

GaraSharp commented 1 year ago

Thanks for fixed problem and sorry for report too late.

Now, rotating_textued_quad.v works fine in my elder environment !

screenshot 2023-05-06 0 34 27

Thank you and congratulate for release 0.3.4 !