minimised gl calls to produce white screen
removed more bits to simplify