qt6-bb10/examples/opengl/cube
Laszlo Agocs 99c8eca3f4 cube example: make sure the program is bound
...in paintGL. There is nothing saying the current
program (or other state) cannot change between
paintGL calls (or initializeGL and paintGL calls).

Correctly call program.bind(). This eliminates the
WebGL warning with WebAssembly.

Pick-to: 6.5 6.4
Task-number: QTBUG-111304
Change-Id: I19792f5f193dcdb305473a939780df33deb1f8e1
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
2023-04-18 13:23:48 +02:00
..
CMakeLists.txt Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
cube.png Squashed commit of changes from the 4.8-temp branch. 2011-05-23 14:24:07 +02:00
cube.pro Move QOpenGLWidget from QtOpenGL to its own module 2020-02-18 09:22:51 +01:00
fshader.glsl Squashed commit of changes from the 4.8-temp branch. 2011-05-23 14:24:07 +02:00
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-18 13:23:48 +02:00
mainwidget.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
shaders.qrc Squashed commit of changes from the 4.8-temp branch. 2011-05-23 14:24:07 +02:00
textures.qrc Squashed commit of changes from the 4.8-temp branch. 2011-05-23 14:24:07 +02:00
vshader.glsl Squashed commit of changes from the 4.8-temp branch. 2011-05-23 14:24:07 +02:00