qt5base-lts/examples/gui/openglwindow
Christian Ehrlicher 5d3e6ef909 Examples/OpenGLWindow: do not use hardcoded indices
Don't use the hardcoded indices 0 and 1 but the ones returned from
QOpenGLShaderProgram::attributeLocation(). Also change them from GLuint
to GLint.

Fixes: QTBUG-43566
Change-Id: I582bcf899f20d90f4ec1cd61326a177aabb69992
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
2019-10-02 08:36:36 +02:00
..
main.cpp Examples/OpenGLWindow: do not use hardcoded indices 2019-10-02 08:36:36 +02:00
openglwindow.cpp Cleanup QtOpenGL examples 2019-09-30 22:16:27 +02:00
openglwindow.h Cleanup QtOpenGL examples 2019-09-30 22:16:27 +02:00
openglwindow.pri Added OpenGL example and documentation. 2012-08-29 16:53:00 +02:00
openglwindow.pro Fixed installation of gui examples' targets 2012-12-10 15:31:06 +01:00