qv4l2: m_useGLAct is only available if HAVE_QTGL is set.
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 16 Jul 2014 22:00:17 +0000 (00:00 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Wed, 16 Jul 2014 22:00:17 +0000 (00:00 +0200)
commita284f948921ba322a503dd172ed1bed50c4c09f4
treed869eb986dbd2d2417c82b1627f13a914fc3383e
parent4ed869486140c6b3024132e58497275fde5c0aa4
qv4l2: m_useGLAct is only available if HAVE_QTGL is set.

Put #ifdef HAVE_QTGL around it to prevent a crash if it wasn't compiled
with opengl.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/qv4l2/qv4l2.cpp