[cogl-material] Always glBindTexture when flushing material state
authorRobert Bragg <robert@linux.intel.com>
Thu, 19 Feb 2009 09:20:20 +0000 (09:20 +0000)
committerRobert Bragg <robert@linux.intel.com>
Mon, 23 Feb 2009 10:49:35 +0000 (10:49 +0000)
commit5e956a88b822ce9d9eecbd432a0141375bed5ab6
treee073fe25763f6cc7e787d233b28cf3460e39cc5a
parentd13b9de2e27d3db21f4515bf579927df5b42c330
[cogl-material] Always glBindTexture when flushing material state

Bug #1457 - Creating a new texture messes up the cogl material state
            cache; reported by Neil Roberts

We still don't have caching of bound texture state so we always have to
re-bind the texture when flushing the GL state of any material layers.
clutter/cogl/common/cogl-material.c