qtbase/examples/opengl/cube
Laszlo Agocs 9fbc5f1c73 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 051ba40997)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-04-19 17:12:09 +00:00
..
CMakeLists.txt Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
cube.png cube example: Switch to a power-of-two texture 2023-04-19 17:12:09 +00:00
cube.pro
fshader.glsl
geometryengine.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
geometryengine.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
main.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
mainwidget.cpp cube example: make sure the program is bound 2023-04-19 17:12:09 +00:00
mainwidget.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
shaders.qrc
textures.qrc
vshader.glsl