qt5base-lts/examples/opengl
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
..
2dpainting Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
contextinfo Fix ContextInfo example crashing on Android 2023-01-31 20:52:40 +02:00
cube cube example: make sure the program is bound 2023-04-18 13:23:48 +02:00
doc Move hellogles3 docs to where the rest of these files live 2023-03-23 15:13:03 +01:00
hellogl2 Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
hellogles3 Move hellogles3 docs to where the rest of these files live 2023-03-23 15:13:03 +01:00
openglwindow Examples: Add missing include guards 2023-02-01 18:12:36 +00:00
qopenglwidget Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
stereoqopenglwidget Add support for stereoscopic content in QOpenGLWidget 2022-11-28 19:12:27 +01:00
textures Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
CMakeLists.txt Remove erroneous widget dependency for hellogles3 2023-03-23 15:13:03 +01:00
opengl.pro Remove erroneous widget dependency for hellogles3 2023-03-23 15:13:03 +01:00
README Remove references to demos from docs. 2011-07-05 19:57:54 +02:00

Qt provides support for integration with OpenGL implementations on all
platforms, giving developers the opportunity to display hardware accelerated
3D graphics alongside a more conventional user interface.

These examples demonstrate the basic techniques used to take advantage of
OpenGL in Qt applications.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.