Fixed potential use of uninitialized variable in qgl.cpp
authorSamuel Rødal <samuel.rodal@digia.com>
Wed, 19 Sep 2012 15:01:01 +0000 (17:01 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 19 Sep 2012 17:54:44 +0000 (19:54 +0200)
commit727c55c09411f42e243178269d6ce9583958a23c
tree724f98bcb7bf45011132ca857584c0d184366a06
parentd626bea2c71402da2209f2557704f14608a9fe1f
Fixed potential use of uninitialized variable in qgl.cpp

If glGetBooleanv fails this variable is left uninitialized.

Task-number: QTBUG-26952
Change-Id: Idb42833f2907bb66fd87c5cdb39753fca04e7438
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
src/opengl/qgl.cpp