fixing up so I can test gl functions