virtual-world-framework / vwf

Virtual World Framework
https://virtual.wf
Other
142 stars 53 forks source link

Support `devicePixelRatio` !== 1. Fixes resize issues on Retina displays. #408

Closed davideaster closed 9 years ago

davideaster commented 9 years ago

@allisoncorey @eric79 @BrettASwift, this keeps the canvas' CSS size correct on high-resolution displays that have multiple physical pixels per CSS pixel. It also sizes the canvas internally for physical pixels to enable high-resolution rendering.

eric79 commented 9 years ago

:+1: Merge this puppy.