DRW: Fix regression
authorClément Foucault <foucault.clem@gmail.com>
Thu, 21 Sep 2017 17:54:43 +0000 (19:54 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Thu, 21 Sep 2017 17:54:43 +0000 (19:54 +0200)
commit73e1435ab1efc95262cd494fd535d4cfb723c5c8
treea7dc21da99ace7ac989d41c26d1318dc13ce2bcb
parentd97f52f0154923c3b2ba5f6095c35b1dad6aba0f
DRW: Fix regression

Textures were bound once. But since it was not unbound it's bind_num would not change and considered still bound next time a shader needed it.

Fix T52866
Fix T52855
source/blender/draw/intern/draw_manager.c