add more glDrawPixels checks