On Fri, Jan 6, 2012 at 4:28 AM, Eric Anholt <e...@anholt.net> wrote: > So when someone changes from a program using samplerunits bound one way > to a program using samplerunits bound another way, are you expecting > glUseProgram to flag _NEW_TEXTURE? Because it doesn't.
Yes it doesn't, but st/mesa always looks if there's a new fragment program and rebinds fragment textures. FWIW I like Ian's idea with SamplersChangedNotify. Marek _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev