Made cube example not use glActiveTexture.
authorSamuel Rødal <samuel.rodal@digia.com>
Mon, 1 Oct 2012 15:25:01 +0000 (17:25 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 2 Oct 2012 08:43:48 +0000 (10:43 +0200)
commit9b201853ad02fa8af86f8ea36d691a034eaf0cbd
treeaac33af8a07eb2c2fdb7d581231d76df9f6fa74e
parentef3a544436beaecb4d26349ce115be39b680ef6a
Made cube example not use glActiveTexture.

We're setting the default texture unit anyway, and glActiveTexture would
require resolving through QOpenGLFunctions.

Task-number: QTBUG-24555
Change-Id: Id8d660baaa1532e7b8e623673f501703c76fac65
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
examples/opengl/cube/mainwidget.cpp