Files
bgfx/examples/common/entry
Olli Wang fa73aa4b09 Adds iOS device's Retina screen support for nanovg. (#865)
This commit fixes the bug that the bgfx does not respect the `devicePixelRatio` parameter passed to nanovg's `nvgBeginFrame()` function. The problem is caused by the `bgfx::setViewRect()` call defined in the `nvgRenderViewport()` function, as it should take size in consideration of the `devicePixelRatio` value.

However, this commit does not fix nanovg's example app because currently there is no easy way to pass the scale value to the `ExampleNanoVG::update()` method as it calls `nvgBeginFrame()`.
2016-08-05 09:50:02 -07:00
..
2016-01-01 00:11:04 -08:00
2016-01-01 00:11:04 -08:00
2016-01-01 00:11:04 -08:00
2016-01-01 00:11:04 -08:00
2016-01-01 00:11:04 -08:00
2016-01-01 00:11:04 -08:00
2016-01-01 00:11:04 -08:00
2016-02-26 11:40:40 -08:00
2016-01-01 00:11:04 -08:00
2016-04-08 17:30:35 -07:00
2016-04-24 15:32:51 -07:00
2016-05-06 21:29:47 -07:00
2016-01-23 17:09:28 -08:00
2016-01-01 00:11:04 -08:00
2016-01-01 00:11:04 -08:00