summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Agocs <[email protected]>2023-04-18 14:12:17 +0200
committerQt Cherry-pick Bot <[email protected]>2023-04-19 17:12:09 +0000
commit9fbc5f1c73e229536a811b5423161a8562f30a6c (patch)
treeafaa28a6cb341afd0dd50b1d93f7133df5d8fc0f
parentc31184643bd735ccdcabbcc6882beaa7efa114df (diff)
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 <[email protected]> (cherry picked from commit 051ba40997a230ceac23c73b0e7ff75127485c31) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
-rw-r--r--examples/opengl/cube/cube.pngbin30341 -> 88913 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/examples/opengl/cube/cube.png b/examples/opengl/cube/cube.png
index 42c8c51b3a0..c3abbfe84dd 100644
--- a/examples/opengl/cube/cube.png
+++ b/examples/opengl/cube/cube.png
Binary files differ