properly emit calls to gl passthroughs with 0 params, and test for glError