Fix NPOT decoration texture binding
authorCedric Chedaleux <cedric.chedaleux@orange.com>
Mon, 3 Feb 2014 14:59:23 +0000 (15:59 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 12 Mar 2014 14:23:16 +0000 (15:23 +0100)
commit96275509fcec8abc8e580aa6c3c53d893885b7a7
tree613f1237c93ec7a5c3f9a37b4f33e81a220a9b1e
parent1f8f991d7c61d046783b3f541d9121f0a47bcd23
Fix NPOT decoration texture binding

If the context does not support the NPOTTextureRepeat (i.e. GL_OES_texture_npot extension), wrapping must be set to CLAMP_TO_EDGE to prevent invalid texture mapping.

Change-Id: I3ededccc14a32188986529c14fa91161fb383cfc
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp