use glColor in compat mode for the colorStack
do the glColor call in compat mode when index is set in the state. this is not necessary in core profiles since shader based rendering is used, which does not rely on glColor
do the glColor call in compat mode when index is set in the state. this is not necessary in core profiles since shader based rendering is used, which does not rely on glColor