Better handle GL errors in EtcTexture::bind().
authorMichael Brasser <michael.brasser@live.com>
Tue, 30 Apr 2013 18:06:44 +0000 (13:06 -0500)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 3 May 2013 17:11:18 +0000 (19:11 +0200)
commitddfa42c85b732972f819a2525293a90539d42d38
tree74149ef6fdb51f5418975fdcaace8ebce92d0fc9
parent9d6cd72353e4862592c016951810abf9a7ab8079
Better handle GL errors in EtcTexture::bind().

The scenegraph as a whole does not typically do GL error checking. That
means GL errors occurring elsewhere could cause the etcprovider to unload
textures that loaded correctly.

Change-Id: Ic8e0caa62dab50b391e226cf0a493bc7e357dc46
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
examples/quick/textureprovider/etcprovider.cpp