qv4l2: fix incorrect disabling of the blending mode
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 7 Jul 2014 09:51:14 +0000 (11:51 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Mon, 7 Jul 2014 09:51:14 +0000 (11:51 +0200)
commit94f79e67d39ef3ff2599ecb8d74cab2b6a7180da
tree32cc3db75d4162ccfe6f2b5b2c540919c352ddca
parent4b1f76b6629d5ef8b66b5e51f971fab5cd6a9389
qv4l2: fix incorrect disabling of the blending mode

When the blending mode was disabled, the blending function
wasn't turned off. Reworked the code to fix this and to make
the glBlendFunc call sequence easier to follow.

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