g3n / demos

Standalone demos for G3N Game Engine
BSD 2-Clause "Simplified" License
14 stars 12 forks source link

Gets framebuffer size for window resize dimensions #7

Open diwant opened 4 years ago

diwant commented 4 years ago

When the demo window is resized, the donut and button resize incorrectly. Also, the button doesn't respond correctly to mouseover.

These issues are fixed when framebuffer size is used in window resizing calculations.