support glDrawElements in display lists