unsigned short seems a bit big for a stencil buffer, I've never heard of stencil buffers deeper than 8 bits being supported on anything..