Pinpointed it further to: FLUSH_VERTICES(ctx, _NEW_PROGRAM | _NEW_PROGRAM_CONSTANTS); But that's enough for tonight. Will have to resume this another day.