Recreate the FBO on dpr change in rendercontrol example
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>
Thu, 16 Apr 2015 13:41:26 +0000 (15:41 +0200)
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>
Tue, 28 Apr 2015 15:01:49 +0000 (15:01 +0000)
commit4da32851de3a1f462e1077fd9c59849863547af9
tree1193eb0b4e94721f6af880a6ea558bd5726e6f0b
parentfacf3b15b304a2876b3810f4dade4f233924e35e
Recreate the FBO on dpr change in rendercontrol example

Even when the window size is not changing. This provides a useful
example of connecting to the screenChanged() signal.

Task-number: QTBUG-45613
Change-Id: I0652838d9c0cfec8b64b3422997159f385445b20
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
examples/quick/rendercontrol/window_singlethreaded.cpp
examples/quick/rendercontrol/window_singlethreaded.h