cube example: Switch to a power-of-two texture
Just to make sure it runs with strict WebGL 1 implementations. This cannot generally be a solution, naturally, so requiring WebGL 2 is more likely the way to go, but in the case of this example it seems the only thing we need is to resize the image file, so we might just as well do that. Task-number: QTBUG-111304 Change-Id: I1b4a72ac1a7b94575bf1abd61c5aa722959c92e4 Reviewed-by: Inho Lee <inho.lee@qt.io> (cherry picked from commit 051ba40997a230ceac23c73b0e7ff75127485c31) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
c31184643b
commit
9fbc5f1c73
Binary file not shown.
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 87 KiB |
Loading…
x
Reference in New Issue
Block a user