GNOME Bugzilla – Bug 650979
cogl-pipeline-fragend-fixed: Fix enabling texture targets
Last modified: 2011-06-15 23:22:54 UTC
The fixed function fragend gets confused about enabling texture targets so some of the conformance tests are broken.
Created attachment 188477 [details] [review] cogl-pipeline-fragend-fixed: Fix enabling texture targets When flushing a pipeline that has more layers than the previous pipeline, the fixed function fragend is supposed to detect that the texture unit previously had no texture target enabled and then enable it. However the logic for checking whether the unit was enabled was broken due to a typing failure when unit->enabled and unit->current_gl_target were combined into one value in commit 6b7139b0. This was breaking some of the conformance tests when the fixed function fragend is used.
Pushed to the Cogl master branch as 54f94a0e and backported to the Clutter 1.6 branch as 0c323266
Moving Clutter bugs under the CoglPipeline component to be under the Cogl product and CoglPipeline component.