diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2020-10-20 14:23:27 +0200 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2020-10-20 14:30:21 +0200 |
commit | 274e15a01111562873570746b115ef8a264ba0f9 (patch) | |
tree | b72efb6d1afbc446a537fa4a3dea24324940f26c /examples/qt3d/simple-qml | |
parent | 1ca56df0482c711cb980c62a5fb50fdfe7728711 (diff) |
RHI: fix face index for texture upload
Needs to be an index between 0 - 5 and not the GL enum value.
Fixes crash when QAbstractTexture::updateData is called. Other code
paths that use Texture Images already had that fix in.
Change-Id: I2390d71e23d8d481e3d212942dd11a4fd31958ef
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'examples/qt3d/simple-qml')
0 files changed, 0 insertions, 0 deletions