I spoke to some other "GL wizards" earlier about this exact issue and they said that if I unbind a shader, the uniforms that are already bound/set to it do not need to be reset/resubmitted when I re-bind, thus why i am not doing that. It follows the state laws of OpenGL no?
What happens if you remove all the interesting code, and just have it do glUseProgram(0);glUseProgram(previousProgram); in execute? (for me it crashes on all input, so I can't determine what's going on/if the shader swizzle is the culprit).
-- [ christopher wright ] [email protected] http://kineme.net/
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [email protected]

