Files
bgfx/examples/common
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-06-15 09:33:11 -07:00
2016-06-05 21:36:58 -07:00
2016-01-01 00:11:04 -08:00
2016-05-27 20:27:31 -07:00
2016-02-21 22:33:42 -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-28 19:52:15 -08:00