void stencilFunc(int func, int ref, int mask){ startCheck("stencilFunc"); glStencilFunc(_gl, func, ref, mask); checkError('stencilFunc'); }