moved setupgl to setupdraw inside draw.c