trying to implement GL drawbuf