Files
bgfx/examples
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-05-06 21:29:47 -07:00
2016-05-06 21:29:47 -07:00
2016-05-06 21:29:47 -07:00
2016-05-06 21:29:47 -07:00
2016-05-06 21:29:47 -07:00
2016-05-06 21:29:47 -07:00
2016-05-06 21:29:47 -07:00
2016-02-29 19:58:17 -08:00
2016-04-21 22:12:35 -07:00
2016-05-06 21:29:47 -07:00
2016-01-01 00:11:04 -08:00
2016-04-21 22:12:35 -07:00
2016-05-06 21:29:47 -07:00
2016-05-15 09:02:25 -07:00
2016-06-28 09:06:21 -07:00
2016-03-06 16:24:35 -08:00
2016-06-28 09:06:21 -07:00
2016-01-01 00:11:04 -08:00
2016-04-19 20:31:37 -07:00
2016-04-02 11:41:40 +02:00
2016-04-01 22:48:57 -07:00
2016-03-06 15:29:22 -08:00
2016-07-10 00:04:09 -07:00
2016-07-10 23:41:56 -07:00
2016-07-25 19:09:52 -07:00
2016-06-22 19:53:04 -07:00
2016-07-24 16:07:09 -07:00
2016-03-05 11:03:52 -08:00