diff options
author | Harald Vistnes <harald.vistnes@gmail.com> | 2017-10-08 11:09:34 +0200 |
---|---|---|
committer | Harald Vistnes <harald.vistnes@gmail.com> | 2017-10-09 05:35:39 +0000 |
commit | 3532ac70ce69de608d14c24d18b42a6781edf4be (patch) | |
tree | 4df43e6e02e2e38c0d996719acc0f6e8c7186a41 /examples/qt3d/widgets-scene3d/main.cpp | |
parent | 6ae3debbc983927fc74c8ee29cfccfc8bf02c646 (diff) |
Render next frame if texture data is not available
Texture data from generators may not be available in the current frame and
the next frame should be rendered immediately, even in OnDemand rendering.
The problem was that this information was not propagated back to the
renderer, it was just silently ignored inside
GraphicsContext::setParameters. Added a bool return type to
GraphicsContext::setParameters so that the renderer could check for
errors.
Task-number: QTBUG-63561
Task-number: QTBUG-59752
Change-Id: I18fb6f8236bf47d3eeab07d879dffaa599665e6b
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples/qt3d/widgets-scene3d/main.cpp')
0 files changed, 0 insertions, 0 deletions